Hi

Thanks for sharing this. I have created a ticket to improve the JBI component 
documentation with your findings - CAMEL-929



Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: raulvk.soa [mailto:[EMAIL PROTECTED] 
Sent: 22. september 2008 19:37
To: camel-user@activemq.apache.org
Subject: Re: JBI Operation name



Apparently you can also set the operation name by specifying an "operation"
parameter on the endpoint URI. For example:

from("seda:test").
      
to("jbi:service:http://www.mycompany.org/CalculatorService?mep=in-out&operation={http://www.mycompany.org}AddNumbers";);

Hope that helps.


raulvk.soa wrote:
> 
> Nevermind. By inspecting the source code I found out that the operation
> name is set on the outgoing JBI message by assigning to it the value of
> the "jbi.operation" Camel message property.
> 
> This should probably be documented somewhere...
> 
> 
> raulvk.soa wrote:
>> 
>> Hi,
>> 
>> How do I set the Operation of an exchange when invoking a JBI Endpoint?
>> Right now, the Operation name is getting propagated from what is received
>> at input, but I am invoking a CXF Binding Component from Camel via JBI,
>> and it expects to receive the name of the operation to invoke in the
>> operationName field of the JBI MessageExchange.
>> 
>> Thanks.
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JBI-Operation-name-tp19607533s22882p19612910.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to