According to the ServiceMix documentation listed below for defining an Async Bridge, I should be able to define a #responseCorrIdExpression with an XPath value, however I receive an error creating the bean "'org.apache.servicemix.eip.patterns.AsyncBridge'". Has anyone tired this?
Thanks in advance, -Gary ERROR: "Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'responseCorrIdExpression' defined in file [C:\ESB\iona\fuse-esb-3.3.1.11\data\smx\service-assemblies\bridge-sa\version_1\sus\servicemix-eip\bridge-eip-asyncbridge-su\xbean.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: You must specify the xpath property" SerivceMix Documentation: The correlation ID can be transmitted from the asynchronous bridge to the target only using a message property, where the property name can be customized. In the other direction, the correlation ID coming back from the target can be set either in a message property or in the message payload. The asynchronous bridge could use an Expression to extract the correlation ID from the message returned from the target. The following example shows how to modify the correlation ID settings: <eip:async-bridge service="sample:AsyncBridge" endpoint="AsyncBridgeEndpoint" responseCorrIdProperty="correlationIdProperty" responseCorrId="#responseCorrIdExpression"> <eip:target> <eip:exchange-target service="sample:SampleTarget" /> </eip:target> </eip:async-bridge> <bean id="responseCorrIdExpression" class="org.apache.servi cemix.expression.JAXPStringXPathExpression" > <contructor-arg value="/my-response/message/@corrId"/> -- View this message in context: http://www.nabble.com/Async-Bridge-Pattern-tp21235584p21235584.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
