Another way to do integration test (so using the packaged service assemblies)
is to do the same thing as:
   
http://svn.apache.org/repos/asf/servicemix/smx3/trunk/samples/camel/camel-sa-itest
For example, you can deploy SA using the following:
  
http://svn.apache.org/repos/asf/servicemix/smx3/trunk/samples/camel/camel-sa-itest/src/test/resources/test1.xml

On Wed, May 21, 2008 at 5:05 PM, Bruce Snyder <[EMAIL PROTECTED]> wrote:
> On Wed, May 21, 2008 at 8:57 AM, ivan <[EMAIL PROTECTED]> wrote:
>>  Hi!!
>>
>> How can I test existing SA?
>> I mean, I already have Service Assembly (*.zip) in maven repository.
>
> There are two methods for testing:
>
> 1) Integration testing with Spring is the easiest way to test:
>
> http://servicemix.apache.org/integration-testing-in-spring.html
>
> 2) Writing a plain old JUnit test and constructing everything
> manually. There are many unit tests throughout the ServiceMix codebase
> that demonstrate how to go about this.
>
> Bruce
> --
> perl -e 'print unpack("u30","D0G)[EMAIL 
> PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
>
> Blog: http://bruceblog.org/
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to