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.