Hi Willem,
I am not able to trace whats happening. I am sending a soap request to the
CXF endpoint and I could able to see the response data successfully written
to the queue. But why the SOAP UI is showing the response again ?
Is this flow one way ? Am confused ? I am expecting no response in SOAP UI,
Please correct me if I have some basic misunderstanding.
But the queue also holds the message.:(
This is my flow..
public void configure() throws Exception {
from(uri)
.to("log:input")
// send the request to the route to handle the operation
// the name of the operation is in that header
.recipientList(simple("direct:${header.operationName}"));
// report incident
from("direct:reportIncident")
.process(new Processor() {
public void process(Exchange exchange) throws Exception {
// get the id of the input
String id =
exchange.getIn().getBody(InputReportIncident.class).getIncidentId();
// set reply including the id
OutputReportIncident output = new
OutputReportIncident();
output.setCode("OK;" + id);
exchange.getIn().setBody(output.getCode());
}
})
.inOnly("activemq:queue:outputqueue")
.to("log:output");
Regards
Guru
gnanaguru.com
--
View this message in context:
http://camel.465427.n5.nabble.com/One-way-request-Camel-CXF-tp5727920p5727960.html
Sent from the Camel - Users mailing list archive at Nabble.com.