You should be able to pick up the ServiceGroupId from the soap header in a processor as I showed you in the last mail. Then you can store the ServiceGroupId into to message header, and you can setup the expression with header("ServiceGroupId").
At the same time you need to setup the camel-cxf producer with the back end server address as you did before for load balancer to pickup . -- Willem Jiang FuseSource Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: willemjiang On Tuesday, September 11, 2012 at 3:57 PM, balkishore wrote: > Hi Willem, My SOAP sessions are embedded in the SOAP header and my SOAP > header looks like this: > > <?xml version="1.0" encoding="http://schemas.xmlsoap.org/soap/envelope/" > standalone="no"?> > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> > <wsa:ReplyTo> > <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address> > <wsa:ReferenceParameters> > <axis2:ServiceGroupId > xmlns:axis2="http://ws.apache.org/namespaces/axis2">urn:uuid:99A029EBBC70DBEB221347349722532</axis2:ServiceGroupId> > </wsa:ReferenceParameters> > </wsa:ReplyTo> > <wsa:MessageID>urn:uuid:99A029EBBC70DBEB221347349722564</wsa:MessageID> > <wsa:Action>Some action to perform</wsa:Action> > <wsa:RelatesTo>urn:uuid:63AD67826AA44DAE8C1347349721356</wsa:RelatesTo> > </soapenv:Header> > > How would i use Expression to sort the Service GroupID from the header and > would pass the request with same ServiceGroupId to same server? > > Any help would be really appreciated. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/SOAP-session-handling-in-load-balncer-tp5719015p5719087.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).