The producer sent only one message but the comsumer received multiple messages with same content.

2013-08-04 Thread Nhan Nguyen
Hi all, I am using a Topic to send and receive the message: from(jms:topic:topic1).process(new Processor() { @Override public void process(Exchange exchange) throws Exception {

Re: The producer sent only one message but the comsumer received multiple messages with same content.

2013-08-04 Thread Nhan Nguyen
Note: If I use the PollingConsumer, I don't see this problem. -- View this message in context: http://camel.465427.n5.nabble.com/The-producer-sent-only-one-message-but-the-comsumer-received-multiple-messages-with-same-content-tp5736733p5736734.html Sent from the Camel - Users mailing list

Re: The producer sent only one message but the comsumer received multiple messages with same content.

2013-08-04 Thread Christian Müller
Why do you use a topic and not a queue if you only have one consumer? Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member:

Re: The producer sent only one message but the comsumer received multiple messages with same content.

2013-08-04 Thread Nhan Nguyen
Hi Christian, I have plan I will use multiple comsumers. Thanks, Nhan -- View this message in context: http://camel.465427.n5.nabble.com/The-producer-sent-only-one-message-but-the-comsumer-received-multiple-messages-with-same-content-tp5736733p5736739.html Sent from the Camel - Users mailing

Re: How to escape {{ and }} in a property's content

2013-08-04 Thread Willem jiang
Hi, You can set another prefix and SuffixToken on your custom property component, just like this bean id=properties class=org.apache.camel.component.properties.PropertiesComponent property name=prefixToken value=((/ property name=suffixToken value=))/ /bean -- Willem Jiang Red Hat, Inc.

Re: The producer sent only one message but the comsumer received multiple messages with same content.

2013-08-04 Thread Christian Müller
Ok, than it's the right decision... I think there must be something wrong in your route set up. The number of messages you receives is increasing by one for each loop... I added the unit test testMultipleMessagesOnSameTopic() [1] to make sure it works. Please have a look and check what you are

Reporting with Camel

2013-08-04 Thread gliesian
Have reporting features from any report engine (e.g., Jasper or BIRT) been integrated with camel yet? -- View this message in context: http://camel.465427.n5.nabble.com/Reporting-with-Camel-tp5736766.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel route stop consuming

2013-08-04 Thread jaime.salvador
Thanks for you reply, this is my routes String dd[] = { direct:mail01, direct:mail02 ... direct:mail50 }; from(activemq:mail?concurrentConsumers=15) .delay( 500 ) .loadBalance( ) .roundRobin( ) .to(dd);

Risk of JMS flooding with long-lasted redelivery policy ?

2013-08-04 Thread Bernard Ligny
Can someone please confirm what my colleague has observed on our project (NB: We use Camel 2.8.5). Let us take for instance: - a JMS consumer (with a particular value of maxConcurrentConsumers) - a (non transacted) error handler with the following redelivery policy: * a large number of retries

CamelXsltResourceUri

2013-08-04 Thread ericsodt
Does anyone have a good working example of how the CamelXsltResourceUri header is used? I've looked all over for documentation, however the only thing I can find is *Available as of Camel 2.9* Camel provides the CamelXsltResourceUri header which you can use to define a stylesheet to use instead

Problem connecting the http link using Camel

2013-08-04 Thread Ganesh Bonde
Hi Everyone, I am working on a task where I am using Camel framework for sending HTTP post request. I have used the code given below to send http post request. We have two servers. We are able to send this request using one server. The second server is behind a proxy

Re: CamelXsltResourceUri

2013-08-04 Thread Bilgin Ibryam
Have a look at the unit test http://svn.apache.org/repos/asf/camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/xslt/XsltFromHeaderOverrideEndpointUriTest.java Bilgin On 2 August 2013 14:46, ericsodt dean.eric...@ll.mit.edu wrote: Does anyone have a good working

Re: Problem connecting the http link using Camel

2013-08-04 Thread Bilgin Ibryam
Hi Ganesh, have you tried setting the proxy related options (proxyAuthHost, proxyAuthPort etc.) mentioned here http://camel.apache.org/http4.html ? Bilgin On 2 August 2013 16:12, Ganesh Bonde gbo...@dhlglobalmail.com wrote: Hi Everyone, I am working on a task where

Re: Inserting oracle XMLType with camel

2013-08-04 Thread OHolzma
Thanks for your response. It was just a classpath issue. I just added oracles orai18n.jar, xdb.jar, xmlparserv2.jar to my classpath. Then the data is inserted as XML and not as a LARGE value. -- View this message in context:

Re: getting error while deploying camel-spring integration in tomcat 6.0

2013-08-04 Thread Pranav Kulkarni
Hi Claus, I am facing the same problem, with same error statements. I tried using jaxb jars with 2.2 version. But, that could not resolve my errors. Can you please help? Thanks! Pranav -- View this message in context: