Hi,

can u plz be bit elaborate....bcoz am very much new to servicemix & ESB....

assume, i ve a java code in JSR component to print "hello world"......i am
contacting dis service (ie, JSR) thro HTTP Binding Componenet....

wen we send a request to HTTP BC, it in turn sends to JSR & JSR sends a
response by printing "hello world"....dis is wat it happens....

so plz tell me how to write/execute junit for this process.....wer to place
dis junit file & wat r modifications to be done either in any of d xbeans
file....

Plz note dat while creatin JSR-SU, test folder is not created.....only wen
we are creatin main pom file, test folder gets created under src folder....

plzzzzz help me.....

Thanks in advance.....


marco.mistroni wrote:
> 
> Hi,
>         JSR component = SE?
> a test shoud have already been generated for you if your component is a 
> JSR
> 
> as far as unit test are concerned, all you are interested is taht your JSR 
> component receives a message.... 
> 
> if you want to test the whole flow (i assume u have a BC for HTTP).., then 
> we are talking about integration testing... i
> 'll be interested in that too..... 
> 
> this discussion was on the list a while a go (how to do integ testing with 
> svcmx)... and lost track
> i'll be interested in taht too..
> 
> regards
>         marco
> 
> 
> 
> 
> 
> 
> Internet
> [EMAIL PROTECTED]
> 
> 21/02/2008 11:13
> Please respond to
> [email protected]
> 
> 
> To
> users
> cc
> 
> Subject
> How to implement JUNIT in service mix?
> 
> 
> 
> 
> 
> 
> 
> Assume a simple java code is present in JSR component & contacting it 
> through
> HTTP request. So anyone plz tell me how to write JUNIT for that code & 
> where
> to implement the same? Plz enlighten in detail.
> 
> Thanks in advance.
> -- 
> View this message in context: 
> http://www.nabble.com/How-to-implement-JUNIT-in-service-mix--tp15607255s12049p15607255.html
> 
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> 
> 
> 
> This communication is confidential, may be privileged and is meant only
> for the intended recipient.  If you are 
> not the intended recipient, please notify the sender by reply and delete
> this message from your system.  Any 
> unauthorised dissemination, distribution or copying hereof is prohibited.
> 
> BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK
> Limited, BNP Paribas UK Limited, 
> BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are
> authorised and regulated by 
> the Financial Services Authority.
> 
> BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank
> are authorised by the CECEI 
> and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services
> London Branch and BNP Paribas 
> Private Bank London Branch are regulated by the Financial Services
> Authority for the conduct of their UK 
> business.  BNP Paribas Securities Services London Branch is also a member
> of the London Stock Exchange.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-implement-JUNIT-in-service-mix--tp15607255s12049p15612080.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to