Hi, Here is the problem that I have : the method transformNotificationMessage of my POJO is never called :
.... <!-- Update Notification status --> <camel:bean ref="serviceHelper" method="updateNotificationStatus" /> <!-- Put result in queue --> <camel:to ref="queueNotificationMessageEndpoint" /> </camel:route> <camel:route> <camel:from ref="queueNotificationMessageEndpoint" /> <!-- <camel:convertBodyTo type="com.xpectis.x3s.platform.model.NotificationMessage" /> --> * <camel:bean ref="serviceHelper" method="transformNotificationMessage" />* <!-- Check if the notification has been transformed --> <camel:choice> <camel:when> <camel:ognl>request.headers.ProcessingStatus = true</camel:ognl> <camel:to ref="directTransformedNotificationMessageEndpoint" /> </camel:when> <camel:when> <camel:ognl>request.headers.ProcessingStatus = false</camel:ognl> <camel:to ref="queueReportingEndpoint" /> </camel:when> <camel:otherwise> <camel:to ref="queueReportingEndpoint" /> </camel:otherwise> </camel:choice> </camel:route> Remark : I have disabled temporary the convertBody after reading message from the queue but the problem is the same if I use it Can the error be related to InOut or InOnly process of the queue called before to go to the bean transformNotificationMessage ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer ***************************** blog : http://cmoulliard.blogspot.com