Hi

As CxfRsProducer set the client address when it is created, I'm afraid you can change the address of the CxfRsProducer dynmaiclally.

But you can leverage the camel URI and recipientList[1] to do this kind of job.

The cxfrs endpoint uri could be
cxfrs://address?resourceClass=com.proj.test.TestService

[1]http://camel.apache.org/recipient-list.html

Willem

jejmaster wrote:
Hi,

I would like to inquire on how to change endpoint uri at runtime. We have
cxfrs routes which we need to change the adresses dynamically through
database.

        <cxf:rsClient id="client1" address="http://localhost:5001";
                serviceClass="com.proj.test.TestService" />

Thanks in advance.

Reply via email to