An example URI for my rest service is as follows:
The service route I am using on the node with my service on it is as follows. This works fine. The route should bridge whatever we give it through to the service.
<route id="my-server">
<from uri="fabric-camel:myClusterId:jetty:http://xx.xx.xxx.xx:8484/myservice/service?matchOnUriPrefix=true" />
<to uri="jetty:http://xx.xx.xxx.xx:8080/myservice/service?bridgeEndpoint=true&throwExceptionOnFailure=false" />
</route>
My trouble is with the client route. The time component is working fine but my efforts to append anything to the GET have failed. If I can figure out how to do this I can create any number of client examples.
<route id="fabric-client" errorHandlerRef="errorHandler">
<from uri="timer://foo?fixedRate=true&period=1000"/>
<to uri="fabric-camel:myClusterId"/>
</route>
Can someone give me a leg up by converting the URI example above to Sprint DSL? I am hoping you can show me how to do it. From that I can figure out how to pass in variables.