Integration Testing multiple camel Context in Spring DSL

2015-01-08 Thread leofprince
Dear Camel Users,
  We have handful of camel context defined in spring DSL.I would like to
write Integration Test cases by loading at least 2 camel contexts and
provide some inputs via test file endpoints and get output in test file
endpoints.For Testing single spring context xml we used
CamelSpringTestSupport and worked perfect.Please share your experience in
integration testing routes with span across multiple camel contexts ?

Thanks,
Leo.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Integration-Testing-multiple-camel-Context-in-Spring-DSL-tp5761477.html
Sent from the Camel - Users mailing list archive at Nabble.com.


direct endpoint across camel context

2014-12-31 Thread leofprince
Dear Camel Users,

We have a couple of camel contexts and have a scenario where we need to
invoke a synchronous call to a route in different camel context. We have
used direct endpoint for synchronous call within same camel context ,we
would like to have same behavior for different camel contexts.

Just needed your advice on the same.

Thanks,
Leo. 



--
View this message in context: 
http://camel.465427.n5.nabble.com/direct-endpoint-across-camel-context-tp5761200.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Camel rest-dsl sending 400(Client Error) Status code's

2014-10-29 Thread leofprince
Hello Camel Users,
I am developing REST services using camel
REST-DSL[http://camel.apache.org/rest-dsl.html]component.I am successful in
sending JSON request for happy path and get the response on the same using
(Rest-DSL and camel servlet) combination. Now as we move forward the client
may sent Rest Service request with not enough values or invalid valid
request ,now I am looking for ways to send 400 Responses from REST DSL in
case where request is not valid,Please advise on the way to achieve this.

I have added the same question in,
http://stackoverflow.com/questions/26631697/camel-rest-dsl-sending-400-status-codes


Thanks!



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-rest-dsl-sending-400-Client-Error-Status-code-s-tp5758320.html
Sent from the Camel - Users mailing list archive at Nabble.com.