Hi Guillaume,

  Thanks for the prompt clarification. However, when  using jsr181 component
of servicemix to point to a particular service which is exposed using wsdl,
the code is automatically generated by maven using the exposed wsdl. Now,
when a particular operation is called from the client, the creation of a
"incoming message" happens at runtime, , and is done by the jbicontainer. I
tried creating a ComponentContext object to access this normalised message
so that I can set the property as explained by you. However, I think this is
not the right way of doing it. I am unsure how to proceed. Pls let me know
how this is possible.

Regards,
Ganesh


gnodet wrote:
> 
> This is still valid in 3.2.1: the patch has been included a long time ago
> and not removed.
> If the incoming exchange has a property set on the in message with a key
> of
>    JbiConstants.HTTP_DESTINATION_URI
> then, the value of this property will be used for the target uri instead
> of
> the one configured
> on the http endpoint.
> 
> On Tue, Apr 15, 2008 at 3:26 PM, navigator09 <[EMAIL PROTECTED]>
> wrote:
> 
>>
>> HI,
>>
>> I am integrating applications using service mix jsr-181 component .
>> However,
>> the requirement is that the endpoint address is provided by the client
>> dynamically. I have gone through the tutorials and it dosent explain
>> dynamic
>> setting of the http endpoints. The issue was raised few years back in the
>> following thread
>> http://www.servicemix.org/site/servicemix-http.html
>>
>> However the patch provided (
>> https://issues.apache.org/activemq/browse/SM-695
>> ) seems to be modified and is no longer applicable to servicemix 3.2.1. 
>> I
>> am looking at setting up the endpoint using jbiapi's. Can anybody suggest
>> how this can be done.
>>
>> Regards,
>> Ganesh
>> --
>> View this message in context:
>> http://www.nabble.com/Dynamically-configuring-http-endpoints-tp16700438p16700438.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> 
> 

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

Reply via email to