Yeah, cxf bc provider also support the dynamic location URI, [1] track
this issue
You can set property JbiConstants.HTTP_DESTINATION_URI as your endpoint
address to the NormalizedMessage programmatically.
[1]https://issues.apache.org/activemq/browse/SMXCOMP-402
Freeman
Gert Vanthienen wrote:
Martin,
The HTTP provider endpoint allows you to set an expression to
determine the location uri to send the request to. That might be a
solution for your problem. I'm not sure if a CXF BC provider endpoint
has the same feature, but I'm pretty sure someone will jump in if it
does.
Another way to to about this would be by using a Camel Recipient List
together with CXF endpoints. This way, your recipient list can
dynamically generate the camel-cxf endpoint URI to use.
Regards,
Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/
2009/2/24 Martin Feeney <[email protected]>:
Hi All,
I am currently using the cxfse:proxy to send web service notifications to an
external web service via the cxf-bc provider component. I was wondering
whether it is possible to do this programmatically instead of hard coding
the cxf-bc provider endpoint address. Is there an appropriate way to do
this?
Many Thanks,
Martin
--
Research Software Developer
IMSARCS
Telecommunications Software & Systems Group (TSSG),
ArcLabs Research and Innovation Building,
Waterford Institute of Technology,
Carriganore Campus, Carriganore,
Co. Waterford, Ireland
www: www.tssg.org
Work: +353 (0)51 304020
Mobile: +353 (0)85 1463212
Work e-mail: [email protected]
Personal e-mail: [email protected]
Skype: martinfeeney