Hi,
you can use a Camel route looking like:
<route>
<from uri="jbi:cxfconsumer"/>
<!-- routing logic -->
<!-- for instance, using message filter -->
<filter>
<xpath>$foo = 'bar'</xpath>
<to uri="jbi:cxfproducer"/>
</filter>
</route>
Anyway, you can implement all in a camel route using camel-cxf component.
Regards
JB
On 10/18/2010 09:52 AM, fat_belly wrote:
I have the following cxfbc consumer and cxfbc producer:
<cxfbc:consumer wsdl="mycalculate.wsdl"
service="calculate:CalculateService"
endpoint="soap"
targetService="calculate:CalculateService"
targetEndpoint="calculate:Calculate"
locationURI="http://myserver:8000/Calculate"/>
<cxfbc:producer wsdl="mycalculate.wsdl"
service="calculate:CalculateService"
endpoint="calculate:Calculate"
locationURI="http://myserver:8080/services/Calculate"/>
Currently, I have the following flow:
external client --> cxf consumer --> cxf producer --> external service
How would I introduce routing btwn the consumer and producer that would
result in the following flow:
external client --> cxf consumer --> routing --> cxf producer --> external
client
Can you give me an example, thank you?