Off the top of my head: from(mina2://etc/etc) .process(new Processor() { @Override public void process(final Exchange exchange) throws Exception { IoSession session = exchange.getIn().getHeader(Mina2Constants.MINA_IOSESSION, IoSession.class) } })
On Fri, Feb 14, 2014 at 9:58 AM, Bart <b.buc...@phxtecno.com> wrote: > Richard, > If it will give me the current session then I think this will be enough for > me however how can I achieve this. I don't see a straight way to get > MINA_IOSESSSION from Mina2Endpoint - or am I missing something? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Apache-Mina2-and-HL7-listener-tp5747265p5747304.html > Sent from the Camel - Users mailing list archive at Nabble.com. >