Hi, I have 2 types of clients and so 2 ways for their requests to come to the JMS endpoint.
1) camel binds xcf WS to the ActiveMQ messaging 2) camel binds simple bean's interface to ActiveMQ messaging In first case ActiveMQ client gets the transmitted object in cxf wrapper: MessageContentsList In second case it gets the message in the BeanInvocation object. With MessageContentsList I can easily work and return reply to the connecting client (it waits for reply in InOut mode) With BeanInvocation I do not know how to work, because it demands a reply in the same BeanInvocation wrapper, but It's problematic to create such reply, cause it needs the Method as parameter (reflection?) and this Method may be different for different calls. Questions: How should I receive the message in both cases in order to convert it automatically and also send response to the waiting temporary JMS queue (on the client)? Today I receive 2 types of requests(2 wrappers) and so I need create 2 wrappers for reply..It's hard. Especially with BeanInvocation wrapper. If I was able replace the BeanInvocation wrapper by some other wrapper, I would be more happy. But how I replace it if it automatically chosen. I use @Produce annotation to wire my POJO client and activeMQ, like this: @Produce(uri = "jms:client.messages") And this producer wraps messages into the BeanInvocation. How can I enforce it to use another wrapper back and forth? Or how can I create easily BeanInvocation on the server side to send it back? Thanks. Peter.