THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Note that only sendSync is allowed for active JBI exchanges (but you have to use send for DONE or ERROR status exchanges).
You can also use the client api:
Code Block | ||
---|---|---|
| ||
public void myMethod() {
ServiceMixClient client = new DefaultServiceMixClient(this.context);
QName service = new QName("http://servicemix.org/cheese/", "receiver");
EndpointResolver resolver = client.createResolverForService(service);
client.send(resolver, null, null, "<hello>world</hello>");
}
|