RE: bean invocation is deprecated in 2.15

2015-08-13 Thread Goodwin, Matthew
Instead of bean using method: method(smlSkipMessageHandler, "skipHandler(${body},${headers})") -Original Message- From: suneshkumar [mailto:suneshku...@gmail.com] Sent: Thursday, August 13, 2015 6:06 AM To: users@camel.apache.org Subject: bean invocation is deprecated in 2.1

bean invocation is deprecated in 2.15

2015-08-13 Thread suneshkumar
Hi Guys I am trying to use the following routing, but unfortunately the bean invocation is now deprecated in when, can anyone help me how I can achieve the below without using the deprecated methods? from(utpStpResponseQueue) .choice .when(bean(smlSkipMessageHandler, "skipHandler(