camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goodwin, Matthew" <>
Subject RE: bean invocation is deprecated in 2.15
Date Thu, 13 Aug 2015 16:29:54 GMT
Instead of bean using method:

method(smlSkipMessageHandler, "skipHandler(${body},${headers})")

-----Original Message-----
From: suneshkumar []
Sent: Thursday, August 13, 2015 6:06 AM
Subject: bean invocation is deprecated in 2.15

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?

      .when(bean(smlSkipMessageHandler, "skipHandler(${body},
      .otherwise.bean(transformer, "transform(${body},

.when(bean --> this is the bean invocation which is deprecated



View this message in context:
Sent from the Camel - Users mailing list archive at


This email and any files transmitted with it are confidential and intended solely for the
use of the individual or entity to whom they are addressed. If you have received this email
in error please notify the system manager. This message contains confidential information
and is intended only for the individual named. If you are not the named addressee you should
not disseminate, distribute or copy this e-mail.

View raw message