Re: Set CxfEndpoint Property Dynamicly

2013-09-09 Thread liugang594 Liu
Hi Williem: Thanks. and also I have some other problems when I turned to use customized CxfBinding, you can find that from my another email: "CxfProducer cache problem on Camel" Thanks. 2013/9/10 Willem jiang > The CxfEndpoint Property is set at the design time, if you want to change > the C

Re: Set CxfEndpoint Property Dynamicly

2013-09-09 Thread Willem jiang
The CxfEndpoint Property is set at the design time, if you want to change the CXF endpoint behavior at the Runtime you may need to consider to set the message header just like this. Map requestContext = new HashMap(); requestContext.put(Message.ENDPOINT_ADDRESS, getSimpleServerAddress()); exch

Re: Set CxfEndpoint Property Dynamicly

2013-09-09 Thread liugang594 Liu
Yap, seems not possible for now, it's great if we can support it somehow in future. Anyway, Thanks alot. 2013/9/9 Claus Ibsen > Hi > > You cannot do this from the Camel route DSL. You can however use a > java bean / Camel processor and do java code to do whatever you want. > > Though not sure

Re: Set CxfEndpoint Property Dynamicly

2013-09-09 Thread Claus Ibsen
Hi You cannot do this from the Camel route DSL. You can however use a java bean / Camel processor and do java code to do whatever you want. Though not sure if changing CXF properties at runtime is supported in camel-cxf. Though you can give it a try to see what happens. On Fri, Sep 6, 2013 at 11

Re: Set CxfEndpoint Property Dynamicly

2013-09-06 Thread liugang594 Liu
for example, if I have some route like: *from(uri) **[Step1]* *.setHeader(name, value) **[Step2]* *.to(cxf) ** [Step3]*... I want to specify some cxf property *[step3]* as the value specified in setHeader Component *[step2]*. same as we do something by code : cxfEndpoint.getProperties().put("pr

Re: Set CxfEndpoint Property Dynamicly

2013-09-05 Thread Claus Ibsen
Hi What do you mean can you explain in more details? On Fri, Sep 6, 2013 at 6:18 AM, liugang594 Liu wrote: > Hi All: > > I'd like to know how can I set the properties of CxfEndpoint dynamicly, for > example use simple expression to calculate and set the property value > during running. > > Than

Set CxfEndpoint Property Dynamicly

2013-09-05 Thread liugang594 Liu
Hi All: I'd like to know how can I set the properties of CxfEndpoint dynamicly, for example use simple expression to calculate and set the property value during running. Thanks alot Thanks GangLiu Mail: clevers...@gmail.com