Re: Regarding TO uri

2013-07-25 Thread indrayani
this worked, thank you very much. -- View this message in context: http://camel.465427.n5.nabble.com/Regarding-TO-uri-tp5736012p5736254.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Regarding TO uri

2013-07-22 Thread indrayani
hi, i tried as follows but i am gettting null value : exchange.getProperty("TO_ENDPOINT") am i missing anything? -- View this message in context: http://camel.465427.n5.nabble.com/Regarding-TO-uri-tp5736012p5736017.html Sent from the Camel - Users mailing list archive at Nabble.com.

Regarding TO uri

2013-07-22 Thread indrayani
Hi All, Is it possible to read To uri in the processor class? I can get a From uri in the processor class as follows : exchange.getFromEndpoint().getEndpointUri() Is there any way to read To uri ? -- View this message in context: http://camel.465427.n5.nabble.com/Regarding-TO-uri-tp5736012

Re: getting error with camel sql component in route

2013-06-27 Thread indrayani
actually, i wanted to send the message as it is, just wanted to do some logging in the database. I have found out a way for the logging. I am using and have created a bean class implementing processor containing process method. In its process method, I am adding data in database table using data

Re: getting error with camel sql component in route

2013-06-26 Thread indrayani
hi, any idea ,why am i getting the exception. i am stuck-up at this point. -- View this message in context: http://camel.465427.n5.nabble.com/getting-error-with-camel-sql-component-in-route-tp5734785p5734797.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: getting error with camel sql component in route

2013-06-26 Thread indrayani
yes 2.11.0 -- View this message in context: http://camel.465427.n5.nabble.com/getting-error-with-camel-sql-component-in-route-tp5734785p5734791.html Sent from the Camel - Users mailing list archive at Nabble.com.

getting error with camel sql component in route

2013-06-25 Thread indrayani
Hi , I am using following route the DatabaseBean class contains following method : public Map generateInsertData(String headerId1) { Map answer = new HashMap(); a

using to read header

2013-06-24 Thread indrayani
Hi all, my camel route is defined as follows : http://camel.apache.org/schema/spring";> in the testdata method, i am accessing the body as follows public static void testData(String body) {

Re: Regarding came route id

2013-06-24 Thread indrayani
thank you for the explanation, even i was thinking on the same lines, like i can use the routeid -- View this message in context: http://camel.465427.n5.nabble.com/using-came-route-id-in-servlet-call-tp5734531p5734657.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Activemq consumer is closing

2013-06-21 Thread indrayani
hi all, i set the property as follows and now i not facing any exception. thank you everybody for the support -- View this message in context: http://camel.465427.n5.nabble.com/Activemq-consumer-is-closing-tp5731140p5734530.html Sent from the Camel - Users mailing list archive at Nabble.c

Regarding came route id

2013-06-21 Thread indrayani
Hi, i have a route defined as follows : currently i am calling a servlet as using following url : http://localhost:8082/camel-example-activemq-tomcat/camel/servletA my query is, is it possible to use the route id in the servlet url ? that is insted of using ' /camel-examp

Re: Activemq consumer is closing

2013-06-21 Thread indrayani
thank you so much. that really helped me, i set the property as follows and now i not facing any exception. thanks a lottt, i was badly struggling with this issue since long time. Regards, Indrayani -- View this message in context: http://camel.465427.n5.nabble.com/Activemq

Re: Activemq consumer is closing

2013-06-20 Thread indrayani
below is the full stack trace 2013-06-20 12:24:25,656 [yManager[inbox]] WARN TemporaryQueueReplyManager - Exception inside the DMLC for Temporary ReplyTo Queue for destination inbox, refreshing ReplyTo destination javax.jms.IllegalStateException: The Consumer is closed at org.apache.

Re: Activemq consumer is closing

2013-06-19 Thread indrayani
i tried but still i am getting the exceptions -- View this message in context: http://camel.465427.n5.nabble.com/Activemq-consumer-is-closing-tp5731140p5734411.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Activemq consumer is closing

2013-06-19 Thread indrayani
Hi , I understood that these are just warnings , but what could be the reason behind getting consumer closed and session closed warnings. if you check the scenario that i have mentioned , then in that case , 2 web applications are communicating with each other via camel routes which consist of serv

Re: Activemq consumer is closing

2013-06-19 Thread indrayani
hi, thanks for the quick reply. actually my scenario is little different , I am not creating any consumer on camel side. I have just defined routes . if you have some time, then can you please check the following scenario. what is happening is, first and second time communication works fine, but

Re: Activemq consumer is closing

2013-06-19 Thread indrayani
I am facing the same " consumer closed issue " that ' kiranreddykasa ' was facing and from her post what i found was she has got the solution of autostart, so just wanted to know how did she apply that solution. in which xml she did changes. -- View this message in context: http://camel.465427.

Re: Activemq consumer is closing

2013-06-18 Thread indrayani
Hello, can you explain what is the actual solution you applied in order to avoid this exception. I am facing the same issue and I really need a help. -- View this message in context: http://camel.465427.n5.nabble.com/Activemq-consumer-is-closing-tp5731140p5734294.html Sent from the Camel - Us

Re: Regarding auto_delete_after

2013-06-17 Thread indrayani
hi, I asked the question on activemq forum and they asked me to post the same on camel forum , so posting the same question here. I am using activemq with camel ,I have defined routes like : 1) from servletA to actimq A 2) from activemq A to servletB 3) from servletB to activemq C 4) from ac

Regarding auto_delete_after

2013-06-13 Thread indrayani
Hi all, I getting following exception : javax.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-queue when i searched for the solution, what i found was , there is a property auto_delete_after which we can set for the queue and by this way, the queue does not get dele

Re: Regarding request routing through camel web app

2013-06-10 Thread indrayani
hi, are you talking about the servlet that i have mentioned in the from URI?? if that is the case, then the from URI shows a web application that is deployed on tomcat. I checked the link that you have provided, but that did not helped me. my requirement is Web application A gives a call to camel

Regarding request routing through camel web app

2013-06-07 Thread indrayani
hi all, I need a little help. My web application A is sending http request to camel web application . and i have defined a route in camel routebuilder which says if the request comes from A then forward it to other web application B. web application A's http get method is making a http call to ca

Re: regarding status code 302

2013-06-03 Thread indrayani
Hi, i have some different requirement, i am not able to understand how to proceed with that, can anyone tell me some bullet points to start with the same, the scenario is as follows : 1.there is one web application A deployed on tomcat 2.there is another web application B deployed on jetty on diff

Re: regarding status code 302

2013-05-31 Thread indrayani
h the redirected url. The redirect url should be returned in the http headers " can you please explain me how should i do that Regards, Indrayani -- View this message in context: http://camel.465427.n5.nabble.com/regarding-status-code-302-tp5733545p5733547.html Sent from the Camel - Use

regarding status code 302

2013-05-31 Thread indrayani
Hi All, I have defined a following route in my camel config xml http://localhost:8085/testagent?bridgeEndpoint=true"; /> I am sending a request through following code from a web application : String servletURL ="http://localhost:8085/camel-example-servlet-tomcat-no-spring-2.11.0/