java - How do I convert my BeanInvocation object in camel to a message body and headers? -


I am using a path to expose an interface as a starting point. This message uses a Bean Invocation object as the body. Based on the arguments given to the interface, how do I set up messaging bodies and headers?

  Public Interface Test {Public is to say zero (string first name, string last name); }  

I want to make body (first name + + + last name). I would also like to know how to set a logic as a header on the message and the other as a body.

It uses the same bean parameter binding stuff that uses regular camel bean invocation. See the documentation about this

The action in the camel Chapter 4 includes all about using beans with camels.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -