Re: Messages seem to contain more than I expected...

2013-08-31 Thread apara
To close out this thread, here is the solution. Because Camel does not know that the consumer on the other end is NOT Camel, it wraps the @Produce into a BeanInvocation object. Using the convertBodyTo, I am able to tell Camel to convert from BeanInvocation to the value of the first parameter. Th

Re: Messages seem to contain more than I expected...

2013-08-30 Thread Alex Paransky
Claus, This appears to be this issue which was resolved a while back: https://issues.apache.org/jira/browse/CAMEL-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel On Aug 30, 2013 3:45 PM, "Alex Paransky" wrote: > So, here is what I currently have as a route: > > >

Re: Messages seem to contain more than I expected...

2013-08-30 Thread Alex Paransky
So, here is what I currently have as a route: ${body.args[0].userId} stomp:topic:

Re: Messages seem to contain more than I expected...

2013-08-30 Thread apara
I guess, I am not quite sure how the routes and expressions are working. The object which I am sending looks like this: public class UserEarningEvent { private int id; private int userId; ... public int getUserId() { return userId; } } On the other side