Hi,

How do I send an Object to a cxf route inside a Dynamic route,

For ex:
public String route(Exchange exchange {
        if (requestStatus instanceof RequestPending) { 
                return "cxf://....";  // Need to send an object to this cxf 
route.
        }
}

Outside of an dynamic route I could have sent this using the following, but I 
am not sure how to do that inside a dynamic router.
template.requestBody("direct:start", new Object[]{requests, null}, 
MessageContentsList.class);

Appreciate any help of this 
Thank you!
Regards,

*************************************************************************
This e-mail may contain confidential or privileged information.
If you are not the intended recipient, please notify the sender immediately and 
then delete it.

TIAA-CREF
*************************************************************************

Reply via email to