Hello. I've got a problem with ServiceMix 3.2. and a message routing. Following:
I receive a message with a file poller: Point 1: <file:poller service="sportscheck:OrdersInProduction" endpoint="endpoint" targetService="sportscheck:eip" file="${demandware.export.production.orders}" recursive="true" period="${orders.dw.export.210.filepoller}" filter="#XMLFilter"> </file:poller> This message will be sent to: Point 2: <eip:static-recipient-list service="sportscheck:eip" endpoint="endpoint"> <eip:recipients> <eip:exchange-target service="sportscheck:orderBean" /> <eip:exchange-target service="sportscheck:archiveBean" /> </eip:recipients> </eip:static-recipient-list> and then again to: Point 3: <bean:endpoint service="sportscheck:orderBean" endpoint="endpoint" bean="#OrderBean" /> <bean id="OrderBean" class="de.mmsdresden.sportscheck.beans.OrderBean" /> <bean id="ArchiveBean" class="de.mmsdresden.sportscheck.beans.ArchiveBean" /> </beans> The java bean receives the message as object of type javax.jbi.messaging.MessageExchange. How can I identify the starting point (Point 1) of my message, what is in my example the file:poller ? I need any identifying information, because I use this message routing way (Point1 - Point2 - Point3) with several <file:pollers> (Point1a - Point1b - Pointxyz). In my java bean I want be able to know where my message comes from, which file poller (Point1a - Point1b - Pointxyz) have been used. I can I solve shuch a problem? Is there a possibility to provide a variable in the different file pollers or can is get the name of the service (in my example "sportscheck:OrdersInProduction")? Thank you really for a help! Andreas. -- View this message in context: http://www.nabble.com/How-to-identify-message-origin-after-several-routings---tp25803228p25803228.html Sent from the ServiceMix - Dev mailing list archive at Nabble.com.