RE: ActiveMQ to acknowledge asynchronously.

2012-07-24 Thread Narita Bagchi
point in having the API to set the acknowledgment mode on Active-MQ endpoint, if we cannot acknowledge it. Or probably I am doing something wrong. Please guide. I need to handle the scenario asap. -Narita From: Narita Bagchi Sent: Tuesday, July 24, 2012 5:52 PM To: users@camel.apache.org Subje

RE: camel jms: setting specific MQ headers

2012-11-05 Thread Narita Bagchi
http://camel.apache.org/constant.html Documentation says set header works only for a constant value. In practical scenario, we might need the set header to set values based on the message exchange. This can be an improvement. -Narita -Original Message- From: bung_ho [mailto:bung...@hotm

Setting JMS header

2012-11-23 Thread Narita Bagchi
Camel adds the JMS properties to the In message headers when it receives a JMS message. My requirement is to set JMSType. The JMSConfiguration "jmsMessageType" is not same as "JMSType". Correct me if am wrong. How can I set the "JMSType"? If I add it to the header of the exchange, from inside

FileEndpoint Concurrent Consumer and Producer

2011-07-06 Thread Narita Bagchi
Hey Guys, Can anyone please help me with making FileEndpoint (Consumer and Producer) concurrent ? I am looking for some directions. Thanks. Regards, Narita ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or pri

RE: Reading XML file into a bean

2011-07-20 Thread Narita Bagchi
Some of the XPath APIs doesn't work if the XML is not formatted. -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Thursday, July 21, 2011 12:08 PM To: users@camel.apache.org Subject: Re: Reading XML file into a bean When using XPath you should always mind namespa

RE: DefaultQuartzScheduler' already exists

2011-07-21 Thread Narita Bagchi
This is happening because you are trying to register the same name scheduler twice. You get this error during the second attempt. You need to figure out when is the Scheduler getting initialized prior to this second attempt. -Original Message- From: Filippo Balicchia [mailto:fbalicc...@g

Qpid ObjectMessage problem

2011-09-04 Thread Narita Bagchi
I have a simple POC for my problem. I have a producer and a consumer to read and write ObjectMessage to Qpid queue. All that the Dummy object has, is a String. The Dummy object is Serializable as well. Producer seems to be writing the object to the queue without throwing an error but the Consume

RE: Qpid ObjectMessage problem

2011-09-05 Thread Narita Bagchi
Full stack trace - javax.jms.MessageFormatException: Could not deserialize message: java.io.EOFException at org.apache.qpid.client.message.JMSObjectMessage.getObject(JMSObjectMessage.java:146) at consumer.test.onMessage(QpidConsumer.java:83) at org.apache.qpid.client.Ba

RE: Qpid ObjectMessage problem

2011-09-05 Thread Narita Bagchi
: Re: Qpid ObjectMessage problem What version of Camel are you using? And are you use the camel-amqp component? On Mon, Sep 5, 2011 at 10:48 AM, Narita Bagchi wrote: > > Full stack trace - > > javax.jms.MessageFormatException: Could not deserialize message: > java.io

RE: Qpid ObjectMessage problem

2011-09-05 Thread Narita Bagchi
in resumed debug execution." Thanks. Regards, Narita -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Monday, September 05, 2011 3:09 PM To: users@camel.apache.org Subject: Re: Qpid ObjectMessage problem On Mon, Sep 5, 2011 at 11:35 AM, Narita Bagchi w

Multicast not to route messages

2011-09-21 Thread Narita Bagchi
e intended destination list would have changed. So, is there a way I can stop "Multicast", to multicast messages to certain destinations, during the second run(ie. after crash)? Thanks for the help. Regards, Narita Bagchi ***The information transmitted

Multicast not to route messages

2011-09-22 Thread Narita Bagchi
e intended destination list would have changed. So, is there a way I can stop "Multicast", to multicast messages to certain destinations, during the second run(ie. after crash)? Thanks for the help. Regards, Narita Bagchi ***The information transmitted

camel-http

2011-10-05 Thread narita bagchi
Hi, 1) I have to use camel-http component. 2) I added the following dependencies in the POM file. org.apache.camel camel-http 1.4.0 3) I started getting Unresolved package error for "package=org.apache.commons.httpclient" at Runtime. 4) So I have added the depende

Selective Multicast

2011-10-27 Thread narita bagchi
Is there a way I can selectively multicast? But I do not want to do a multicast-filter like - multicast().filter(header("foo").isEqualTo("bar")).to( "file:outbox1", "file:outbox2", "file:outbox3"); In my case, the destinations (say outbox1, outbox2 and outbox3) are obtained dynamically. ~Narit

RE: Camel: How to make camel stop processing some messages without stopping the route.

2011-11-15 Thread Narita Bagchi
Hmmm. From: Mohammad Shadab Ali Sent: Tuesday, November 15, 2011 5:56 PM To: users@camel.apache.org Subject: RE: Camel: How to make camel stop processing some messages without stopping the route. Thanks Claus. But would that not stop the route itself?

RE: Selective Multicast

2011-11-23 Thread Narita Bagchi
t.html They can be used to work with dynamic endpoints. Hope it helps, Dan. -Original Message- From: narita bagchi [mailto:narita-bag...@indiatimes.com] Sent: 27 October 2011 11:53 To: users@camel.apache.org Subject: Selective Multicast Is there a way I can selectively multicast? But I do

Selective Multicast

2011-11-24 Thread Narita Bagchi
I am completely clueless of what I am doing wrong. Below are the 2 code snippets that works. But if I need to place the processor of snippet-2 in snippet-1 it doesn't work. Please help me knowing the reason. I need to solve this urgently now. :-( Working snippet -1 from("file:inbox") .mult

RE: Selective Multicast

2011-11-25 Thread Narita Bagchi
ce() .when(header("foo").isEqualTo("one")) .to("log:org.apache.camel.DeadLetterChannel?level=error") .otherwise().to("file://d://log//camel//output2"); Regards, ~Narita From: Narita Bagchi Sent: Thursday, Nove

Way to find out if a message has reached all the destinationtions?

2011-12-05 Thread Narita Bagchi
Is there a way to find out if a message, after multicasting, has reached all destinations or not? ~ Narita ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material.

Past release info

2011-12-20 Thread Narita Bagchi
Is there a link to find out the dates of past releases of Camel ? I did not find the dates in the download archive. http://camel.apache.org/download-archives.html Or probably I missed it. Thanks. Regards, Narita ***The information transmitted is intended only for

RE: Past release info

2011-12-20 Thread Narita Bagchi
: Willem Jiang [willem.ji...@gmail.com] Sent: Wednesday, December 21, 2011 12:11 PM To: users@camel.apache.org Subject: Re: Past release info Hi Camel 2.9.0 is on the way. If everything is fine, it will be released before the Christmas :). On Wed Dec 21 14:33:06 2011, Narita Bagchi wrote: > Is th

RE: Past release info

2011-12-21 Thread Narita Bagchi
site. We will announce the release there. [1]http://camel.apache.org/news.html On Wed Dec 21 14:45:52 2011, Narita Bagchi wrote: > Yeah. I saw that the 2.9.0 RC is out. > > The product am working on is at Camel 1.6 :-( and I am collecting data to > request the higher people in

RE: Past release info

2011-12-21 Thread Narita Bagchi
The dynamic pages of the blog posts should be able to browse back to the very early days of Camel https://cwiki.apache.org/confluence/pages/viewrecentblogposts.action?key=CAMEL There is usually a blog post when a new release was out. On Wed, Dec 21, 2011 at 10:25 AM, Narita Bagchi wrote: >

RE: NEWBIE: automatic queues creation

2011-12-28 Thread Narita Bagchi
You don't have to create queues manually. ~Narita From: mgiammarco [mgiamma...@gmail.com] Sent: Thursday, December 29, 2011 2:33 AM To: users@camel.apache.org Subject: NEWBIE: automatic queues creation A newbie question: when I create a context with jms qu

OnException - Stopping context

2012-02-23 Thread Narita Bagchi
What is the right way of stopping the context, onException occurrence ? I have tried the following - 1)handled(true).end(); 2)continued(false).end(); 3)handled(true).stop(); None of the above seems to be working. Thanks. Narita ***The

RE: OnException - Stopping context

2012-02-23 Thread Narita Bagchi
I want to stop the CamelContext. Thanks. Regards, Narita -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Thursday, February 23, 2012 7:55 PM To: users@camel.apache.org Subject: Re: OnException - Stopping context On Thu, Feb 23, 2012 at 3:21 PM, Narita Bagchi

RE: OnException - Stopping context

2012-02-23 Thread Narita Bagchi
, February 23, 2012 8:00 PM To: users@camel.apache.org Subject: Re: OnException - Stopping context On Thu, Feb 23, 2012 at 3:28 PM, Narita Bagchi wrote: > I want to stop the CamelContext. > Then you have to call stop() on the CamelContext. And mind that it will use graceful shutdown, so rea

RE: OnException - Stopping context

2012-02-23 Thread Narita Bagchi
Thu, Feb 23, 2012 at 3:36 PM, Narita Bagchi wrote: > I understand that is the ideal way of stopping the CamelContext in normal > scenario. Should I be opting the same approach along with, OnException clause? > > http://camel.apache.org/exception-clause.html link somewhere says - "

Error -> onException must be defined before any routes in the RouteBuilder

2012-02-23 Thread Narita Bagchi
Why would I probably be getting " onException must be defined before any routes in the RouteBuilder " exception ? I wrote a small exercise and found out that we can have the OnException defined at the beginning of the Route Building, which basically defines the scope of the OnException to becom

RE: Routing from non existing JMS topics

2012-02-23 Thread Narita Bagchi
Related to - http://camel.465427.n5.nabble.com/NEWBIE-automatic-queues-creation-td5106080.html#a5106890 Thanks. Regards, Narita -Original Message- From: shindito [mailto:atanas.shin...@gmail.com] Sent: Thursday, February 23, 2012 9:23 PM To: users@camel.apache.org Subject: Routing from no

RE: Error -> onException must be defined before any routes in the RouteBuilder

2012-02-23 Thread Narita Bagchi
23, 2012 at 4:39 PM, Narita Bagchi wrote: > Why would I probably be getting " onException must be defined before any > routes in the RouteBuilder " exception ? > > I wrote a small exercise and found out that we can have the OnException > defined at the beginning

Problems with Camel version change

2012-02-27 Thread Narita Bagchi
Our application is doing complex processing and routing and it is completely based on Camel. I am upgrading our product from Camel version from 1.6.4 to 2.9.0. I would like to know what are the scenarios when the CamelContext fails to start? I am not getting any error. I am testing a simple File

JMX MeanProcessingRate

2012-04-24 Thread Narita Bagchi
We have migrated our application to use Camel 2.9.0 from Camel 1.6.4. We were using JMX- MeanProcessingRate, for display puropose along with other attributes. Is there a way I can get this value? Thanks. Narita ***The information transmitted is intended only fo

javax.management.AttributeNotFoundException

2012-04-26 Thread Narita Bagchi
Hi, I am at Camel 2.9.0. I am able to view the MBean data for running processes in JConsole. I need to display the same in our user interface. While I try to fetch the attribute values, I get the following error. Note - Attribute "EndpointUri" is fetching the right value. Problem is with "Firs

RE: javax.management.AttributeNotFoundException

2012-04-26 Thread Narita Bagchi
ormanceCounterMBean.html from this package http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/api/management/mbean/package-frame.html On Thu, Apr 26, 2012 at 10:05 AM, Narita Bagchi wrote: > Hi, > > I am at Camel 2.9.0. I am able to view the MBean data for running

ActiveMQ to acknowledge asynchronously.

2012-07-24 Thread Narita Bagchi
Hello Everybody, Is there a way to acknowledge message to the queue, asynchronously? Acknowledgement mode can be set on the ActiveMQ endpoint to AutoAcknowledge or to ClientAcknowledge. If acknowledgement mode is set to ClientAcknowledge, from within a processor message can be acknowledged. Dou