Alright, easy enough, thanks.



Freeman Fang wrote:
> 
> Hi,
> Something like
>     ServiceMixClient client = new ServiceMixClientFacade(context); 
> //context is instance of ComponentContext
>     NormalizedMessage message = null;
>     InOut exchange = null;
>     try {
>       exchange = client.createInOutExchange();
>       message = exchange.getInMessage();
>       message.setContent(xmlMessage);
> 
>       exchange.setService(serviceName);
>       exchange.setInterfaceName(interfaceName);
>       exchange.setOperation(operationName);
>       // sending the message
>       client.sendSync(exchange);
>     } catch (MessagingException e) {
>     }
> 
> bmarley wrote:
>> What are the available options for accessing a jbi container from inside
>> a
>> component?
>>
>>   
> 
> 
> -- 
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jbicontainer-tp23952989p23972249.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to