This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
Invoking a Camel end point deployed in remote Server from JUnit test case
posted 4 years ago
Hi All, I am a newbie in Camel and have to deliver a module in a very short notice. You know how it is .My question may be a very basic question but i would really appreciate if someone could guide me on it. The requirement is to invoke a camel endpoint service deployed in a tomcat server from a junittest case. The Service has been injected with the CamelContext and it has got a set of exposed methods which needs to be called.We are using Spring 2.5 and Camel 2 in our project. The Spring config is below
what i am not able to find is how can we call the end point uri direct:dispatcherChannel deployed in a tomcat server (http://someIP:8080) from a junit which uses spring configuration. Can some one please help me. Thanking all in advance. Thanks tatha