I am working on a small camel application that needs to read data from a third party SOAP Web Service.
I wanted a camel route similar to this:
public class MyCamelRouter extends RouteBuilder {
@Override
public void configure() throws Exception {
from("???:mySoapOrRestWebService")
.to("jms:queue:someQueue"));
}
At first i thought that this could be done with camel-cxf, but its documentation does not mention it.
The only solution that i've found so far is to implement a polling consumer and use it with a timer on the "from" of my route definition.
Is this solution the correct one? Or can this be achieved with some other camel component?
I also need to define a similar route but using a REST web service in the "from"
from(cxf)
you are creating a new web service that has a camel route as the back end. YOu cannot gofrom(some existing service)
. If you can tell me how the service will be called i can give you some more information on how to achieve this. – Namphibian