Re: MailComponent/MailConsumer misses Mails

2013-08-08 Thread cgiera
Hello, it looks like we have found the problem: http://www.mail-archive.com/cyrus-devel@lists.andrew.cmu.edu/msg01684.html We use exactly the cyrus version mentioned in the link, it is not 100% sure if this is the real problem, but we are setting up a server with cyrus 2.4.x and run our tests aga

Re: Incoming message from the queue need to be send to multiple consumer but keep the ordering

2013-08-08 Thread Claus Ibsen
You have 2 routes with the same uri, which is not allowed by default. You can set ?multipleConsumers=true to override that. If you are using queues then usually just one route and then use concurrentConsumers=X to have parallel processing. On Thu, Aug 8, 2013 at 8:25 PM, salemi wrote: > Hi, >

Re:

2013-08-08 Thread pannereselvam
Thanks Claus.. Got it One question, I found also does the same things, when/ where it canbe used? -- View this message in context: http://camel.465427.n5.nabble.com/to-URI-url-from-request-message-tp5736992p5737001.html Sent from the Camel - Users mailing list archive at Nabble.com.

ServiceMix and Camel how to realize the process can be configured

2013-08-08 Thread wangyi
hello everybody: I ask everybody a question, I now do a logistics project.This project on OSGI platform development and deployment, is in the OSGI bundle as the basic unit, I now have four applications namely four bundles (harvest notice, delivery, acceptance, storage, in accordance with the

Re: Is there a way to set a proxy using camel-rss component?

2013-08-08 Thread Bilgin Ibryam
Hi, have you tried the following? System.setProperty("http.proxyHost", "proxy.myproxy.com"); System.setProperty("http.proxyPort", "8080"); Bilgin On 8 August 2013 18:31, roger_rabbit wrote: > Hi, > > I am using a camel-rss based route to poll from a rss... This works very > well on my local b

Codec and Headers

2013-08-08 Thread milltj
I have a question regarding Custom Codecs and Headers. I have a message format that is is a 28 byte header followed by XML. I am using the MINA2 component to receive the data and implemented a custom codec to read the data and add the header and XML to the body as a byte[]. I would like my codec t

Re: Incoming message from the queue need to be send to multiple consumer but keep the ordering

2013-08-08 Thread salemi
Hi, I started to use message groups but camel throws the following exception. What am I doing wrong? 013-08-08 12:15:35,030 [main ] INFO MainSupport - Apache Camel 2.10.1 stopping Exception in thread "main" 2013-08-08 12:15:35,047 [Thread-0 ] INFO MainSupport$

Re: Incoming message from the queue need to be send to multiple consumer but keep the ordering

2013-08-08 Thread salemi
Hi, I am trying to use the message groups and I am getting the following error. What am I doing wrong. Exception in thread "main" 2013-08-08 13:01:20,904 [Thread-0 ] INFO MainSupport$HangupInterceptor - Received hang up - stopping the main instance. org.apache.camel.RuntimeCamelException:

quartz scheduler overrider? : failed to resolve endpoint

2013-08-08 Thread roger_rabbit
Hi, I am using a series of quartz-based routes, and used them with success on my Fuse Esb bus (camel version : 2.10.0.fuse-71-047). I then installed the same bundle on another bus, of the same version but while it worked on mine, it failed on the new bus because camel kept trying to override

Is there a way to set a proxy using camel-rss component?

2013-08-08 Thread roger_rabbit
Hi, I am using a camel-rss based route to poll from a rss... This works very well on my local bus, but does not work on another one that is behind a proxy. When I encountered such a problem with camel-http, I used to set a proxy that way (with the suited values): if(hasProxy){

Can't find the BindingOperationInfo with operation name

2013-08-08 Thread clarkcb
Hello, I'm trying to access a remote web service, and getting stuck at the point where I get a BindingOperationInfo error: 15:23:56.831 [main] ERROR o.a.c.processor.DefaultErrorHandler - Failed delivery for (MessageId:

SJMS component and IBM WebsphereMQ class cast error

2013-08-08 Thread nigel
Hi, I'm trying to use the sjms component with IBM MQ and I have an exception when using an InOut exchange patter over topics. The SjmsComponent is created using a MQConnectionFactory class. The error occurs in the JmsObjectFactory class, createMessageConsumer method, line 122. 121if (topic

Aggregator Serialization Exception

2013-08-08 Thread piotrsl
Hi I'm trying to use MS SQL or Oracle database as Aggregator persistence repository for MapMessages which have data serialized in protobuf. I'm able to store data in database (both Oracle or MS Sql ) but then i'm getting serialization: ava.lang.RuntimeException: Error getting key 1 from repositor

RE: Creating then starting a JMS consumer around another component

2013-08-08 Thread markgize
Thanks for your responses. Q: Why not setup your consumer before you start up your camel context? At the moment we prepare our context: CamelContext context = new DefaultCamelContext(); context.addComponent(JMS_QUEUE_COMPONENT_NAME, new JmsComponent(new JmsConfig

Re: Creating then starting a JMS consumer around another component

2013-08-08 Thread Christian Posta
Could a better solution be to use durable subscriptions or ActiveMQ virtual topics so you're not depending on the timing of your consumer starting up as the basis for not missing messages? On Wed, Aug 7, 2013 at 6:43 PM, John D. Ament wrote: > Hi, > > Why isn't 2,1,3 possible? > Why not setup yo

Re:

2013-08-08 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html On Thu, Aug 8, 2013 at 2:49 PM, pannereselvam wrote: > > > Dynamic url need to populated in 'to uri'. > sample XML: > ... > http://www.google.com > ... > Camel_config.xml > > resultType="java.lang.String">/soapenv:Env

users@camel.apache.org

2013-08-08 Thread pannereselvam
Dynamic url need to populated in 'to uri'. sample XML: ... http://www.google.com ... Camel_config.xml /soapenv:Envelope/soapenv:Header/urn:ESBMetaData/urn:supplierEndPoint - Works fine. I can see the url in log. - Error Error : Caused by: org.apache.camel.NoSuchEndpointException: N

CxfPayload and streamCache

2013-08-08 Thread solimo
Hello! I've encountered unexpected behaviour while modelling some routes. When simplified it can be described as follows: http://camel.apache.org/schema/spring";> ...

Wait until the object was persisted

2013-08-08 Thread Hilderich
Hello guys! In my camel routes as a part of it there is a jpa producer. When it comes to save the body to the database via .to("jpa:...") I have the situation to fetch that object from the database afterwards. However the camel route is that fast so the previously storage to database has not b

Re: Router with DSL

2013-08-08 Thread boday
sure, there are various options for this often referred to as inter-bundle communication because many face this issue when using OSGi bundles to deploy multiple Camel apps to a single JVM (Karaf, etc) the VM transport (http://camel.apache.org/vm.html) can be used to communicate between contexts in

Re: smtp option contentType=text/html has no effect

2013-08-08 Thread Hilderich
Thank you, Claus! -- View this message in context: http://camel.465427.n5.nabble.com/smtp-option-contentType-text-html-has-no-effect-tp5736951p5736987.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Which Component of camel is used for subscriptions or polling?

2013-08-08 Thread Christoph Emmersberger
Hi Kannaiah, sorry for the late reply, ... are you still having any issues? One of the good examples getting started can be found within the TestCases where a File is being polled. However, you should be able to adjust the example for triggering your CXF client. PollingConsumer consume

Re: smtp option contentType=text/html has no effect

2013-08-08 Thread Claus Ibsen
Maybe there is a header with key contentType or Content-Type etc that would override the endpoint configuration. I suggest to check for that. You can use the tracer to see the message as its routed in Camel etc. http://camel.apache.org/tracer On Wed, Aug 7, 2013 at 10:32 PM, Hilderich wrote: > H

Re: Request - response using ProducerTemplate.requestBodyAndHeaders

2013-08-08 Thread Claus Ibsen
The useMessageIDAsCorrelationID is an option on the Camel JMS endpoint, not part of the message itself. And if you want to use a custom correlation id, then the useMessageIDAsCorrelationID must be false. On Wed, Aug 7, 2013 at 7:41 PM, wborzynski wrote: > Hi, > > I am trying to use the Producer

Re: Unable to use move,movefailed and donefilename with consumer template endpoint Uri

2013-08-08 Thread Claus Ibsen
See the javadoc at http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/ConsumerTemplate.html And take a look at the doneUoW method etc. On Wed, Aug 7, 2013 at 9:47 PM, skumar wrote: > Claus, > I have gone through the section "Timer based polling consumer" at > http:

Re: Limit concurrency to messages with different headers

2013-08-08 Thread Claus Ibsen
Sounds like JMS message groups can help with this. If you use ActiveMQ check out its docs about this. On Wed, Aug 7, 2013 at 9:24 PM, bocamel wrote: > I need to process orders from multiple companies and then send them out. The > logic for processing is almost identical but I need to send all