Hi Glen,

I think it's 2, the dataformat just marshal the request into a soap envelop and store it into a jms queue.

Willem

On 9/9/10 8:54 AM, Glen Mazza wrote:
Hello, another question on the SOAP DataFormat text.  In the "Using the
Java DSL" section[1], the example given is as follows:

SoapJaxbDataFormat soap = new
SoapJaxbDataFormat("com.example.customerservice", new
ServiceInterfaceStrategy(CustomerService.class));
from("direct:start")
.marshal(soap)
.to("jms:myQueue");


I'm not sure what the above route is doing. Is it:

1.) Making a SOAP over JMS call (i.e., jms:myQueue will need to be a web
service provider that will return a response)

or

2.) Just marshalling the Java object holding the SOAP call data into an
XML SOAP Envelope and placing the latter on a queue (for perhaps a later
feed to the actual web service call, but it does not have to be).

Thanks,
Glen

[1]
https://cwiki.apache.org/confluence/display/CAMEL/SOAP#SOAP-UsingtheJavaDSL


Reply via email to