THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Wiki Markup |
---|
{snippet:id=clientroute|lang=xml|url=http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-core/src/test/resources/org/apache/servicemix/client/example.xml} |
If you have access to a ComponentContext
If you are inside a JBI component you can create a ServiceMixClient as follows
Code Block |
---|
ServiceMixClient client = new ServiceMixClientFacade(context);
|