You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by youhaodeyi <yo...@gmail.com> on 2009/06/05 02:53:40 UTC
How can I debug in ServiceMix
I packaged a SA and deployed it in ServiceMix. I wander how I can debug it in
ServiceMix.
thanks.
--
View this message in context: http://www.nabble.com/How-can-I-debug-in-ServiceMix-tp23880459p23880459.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: How can I debug in ServiceMix
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Yeah, as the testcase in servicemix-cxf-bc, it's started a embeded
servicemix instance, which is configured by spring bean, the endpoint
is configured in the spring file as well.
Take a look at [1] as an example
If you already imported the project in to eclipse, you can launch this
test directly in eclipse, it will start smx and endpoints per your
cofiguration
[1]http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
Freeman
youhaodeyi wrote:
> Hi,
>
> Thanks for your reply. Your method based on remote debug. But I can't modify
> the code in debug mode.
> Can I deploy my component on ServiceMix in Eclipse? What I do now is to
> develop in eclipse and package it in JBI SA and copy the SA to
> ServiceMix/hotdeploy directory. I think this process is a little
> complicated. Is there a way to modify the code in Eclipse which will cause
> the change on ServiceMix?
>
> ZY
>
> Freeman Fang wrote:
>
>> Hi,
>>
>> Take a look at [1] to know how to import the smx code into eclipse and
>> [2] to know how to debug it
>> [1]http://servicemix.apache.org/importing-servicemix-into-eclipse.html
>> [2]http://servicemix.apache.org/remote-debugging-servicemix-in-eclipse.html
>>
>> Freeman
>>
>> youhaodeyi wrote:
>>
>>> I packaged a SA and deployed it in ServiceMix. I wander how I can debug
>>> it in
>>> ServiceMix.
>>>
>>> thanks.
>>>
>>>
>> --
>> Freeman Fang
>> ------------------------
>> Open Source SOA: http://fusesource.com
>>
>>
>>
>>
>
>
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
Re: How can I debug in ServiceMix
Posted by youhaodeyi <yo...@gmail.com>.
Hi,
Thanks for your reply. Your method based on remote debug. But I can't modify
the code in debug mode.
Can I deploy my component on ServiceMix in Eclipse? What I do now is to
develop in eclipse and package it in JBI SA and copy the SA to
ServiceMix/hotdeploy directory. I think this process is a little
complicated. Is there a way to modify the code in Eclipse which will cause
the change on ServiceMix?
ZY
Freeman Fang wrote:
>
> Hi,
>
> Take a look at [1] to know how to import the smx code into eclipse and
> [2] to know how to debug it
> [1]http://servicemix.apache.org/importing-servicemix-into-eclipse.html
> [2]http://servicemix.apache.org/remote-debugging-servicemix-in-eclipse.html
>
> Freeman
>
> youhaodeyi wrote:
>> I packaged a SA and deployed it in ServiceMix. I wander how I can debug
>> it in
>> ServiceMix.
>>
>> thanks.
>>
>
>
> --
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
>
>
>
--
View this message in context: http://www.nabble.com/How-can-I-debug-in-ServiceMix-tp23880459p23881229.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: How can I debug in ServiceMix
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Take a look at [1] to know how to import the smx code into eclipse and
[2] to know how to debug it
[1]http://servicemix.apache.org/importing-servicemix-into-eclipse.html
[2]http://servicemix.apache.org/remote-debugging-servicemix-in-eclipse.html
Freeman
youhaodeyi wrote:
> I packaged a SA and deployed it in ServiceMix. I wander how I can debug it in
> ServiceMix.
>
> thanks.
>
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com