Willem,

thank you very much for your code. I will try out this method.

Thanks

Lars

2012/10/15 Willem jiang <[email protected]>:
> Hi,
>
> I'm not sure if you are using soap over jms which CXF supports. If so, you 
> should be able to get the information of the jms-uri by looking up the CXF 
> message context by using the key of "requestURI".
>
> You can get the CXF Message by using the code like this
> from(SIMPLE_ENDPOINT_URI).process(new Processor() {
> public void process(final Exchange exchange) {
> Message in = exchange.getIn();
> // get the cxfMessage from camel message header
> org.apache.cxf.message.Message cxfMessage = 
> in.getHeader(CxfConstants.CAMEL_CXF_MESSAGE, 
> org.apache.cxf.message.Message.class);
> …...
>
>
>
>
> }
>
> --
> Willem Jiang
>
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Web: http://www.fusesource.com | http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
> (English)
>           http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
> Twitter: willemjiang
> Weibo: willemjiang
>
>
>
>
>
> On Sunday, October 14, 2012 at 9:10 PM, helander wrote:
>
>> In a route that starts with a cxf-endpoint and ends with a jms-endpoint, I
>> would like to extract the jms destination from a port in the wsdl configured
>> on the cxf-endpoint. The port in the wsdl contains the jms-uri of the
>> destination to be used by the jms-endpoint. I know how to dynamically set
>> the destination for the jms-endpoint, but is it possible to extract the
>> jms-uri from the wsdl of the cxf-endpoint?
>>
>> Thanks
>> Lars
>>
>>
>>
>> --
>> View this message in context: 
>> http://camel.465427.n5.nabble.com/Dynamic-jms-destination-from-wsdl-tp5721024.html
>> Sent from the Camel - Users mailing list archive at Nabble.com 
>> (http://Nabble.com).
>
>
>

Reply via email to