Thanks Guillaume for your quick answer. effectively it's working great with the setContext method.
When I create a Message exchange I do not have any route for this message exchange (which is correct as I've not defined it ;-) How could I defined the "destinationService" in my xbean.xml ? I looked at the "servicemix-jsr181-3.0-SNAPSHOT.xsd" but didn't found any clue ! Thanks, Nicolas -- View this message in context: http://www.nabble.com/get-Context-from-Pojo-Webservice-t1335655.html#a3569342 Sent from the ServiceMix - User forum at Nabble.com.
