Re: Camel Timeout on a route

2012-10-29 Thread ravi.4indra
I am still having that problem.I had removed responseContext,RequestContext from the inMessage and added a requestContext with a new ClientPolicy .Do i to remove any other headers? below is the code snippet exchange.getIn().removeHeader(Client.RESPONSE_CONTEXT);

Re: Camel Timeout on a route

2012-10-29 Thread Willem jiang
I just wrote a test and verified I can set the timeout value on the second cxf endpoint without any trouble. What's the error did you get? BTW, you should get the socket read time out as you set the receive time out to 1 mill second. -- Willem Jiang Red Hat, Inc. FuseSource is now part of

Re: HTTP4 component body CachedOutputStream to String

2012-10-29 Thread Claus Ibsen
Hi See these links also http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html http://camel.apache.org/pipes-and-filters.html http://camel.apache.org/how-do-i-enable-streams-when-debug-logging-messages-in-camel.html http://camel.apache.org/stream-caching.html On Fri, Oct 26,

Re: Cannot connect to FTPES server

2012-10-29 Thread Claus Ibsen
On Fri, Oct 26, 2012 at 4:23 PM, ddelizia danilo.deli...@unic.com wrote: At the end was a problem of my configuration I had to set passiveMode=truebinary=true. That was detected automatically with filezilla but not with camel. Thanks for sharing your solution. Thanks anyway -- View

JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread anaCortes
Hi all, in my Camel project we are using ActiveMQ queues in a synchronous way. The basic idea is that we send messages to a queue, adding replyTo=xxx.REPLY to have a shared fixed reply queue where receive the response. I´ve started using JMeter to see how reacts the project with not only 1

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread Claus Ibsen
On Mon, Oct 29, 2012 at 9:18 AM, anaCortes anquiroe...@hotmail.com wrote: Hi all, in my Camel project we are using ActiveMQ queues in a synchronous way. The basic idea is that we send messages to a queue, adding replyTo=xxx.REPLY to have a shared fixed reply queue where receive the response.

Re: Camel context autostartup

2012-10-29 Thread Claus Ibsen
The autostartup options is for controlling if *routes* should be auto started or not. Not the actual CamelContext itself. The naming could have been better, but the option was first on route and then later inherited on camelContext to make a single switch. On Sat, Oct 27, 2012 at 4:57 PM,

Re: secondary dynamic endpoint to retrieve an item attached

2012-10-29 Thread Claus Ibsen
Hi See the doneFileName option http://camel.apache.org/file2 On Sat, Oct 27, 2012 at 8:46 PM, sekaijin jean-yves.terr...@sap.aphp.fr wrote: hello, I receive messages via MLLP containing the name of a file that I must retrieve and link attachment in the message. I looked for a pattern to

Re: [Question] Seems wireTap will always copy the origin Message

2012-10-29 Thread Claus Ibsen
On Fri, Oct 26, 2012 at 11:19 AM, liugang clevers...@gmail.com wrote: Hi: Thanks for your quick reply, I have fired a bug https://issues.apache.org/jira/browse/CAMEL-5746 . And one more question: The maven dependencies of camel-saxon were changed from 2.9.3 to 2.10.2 , and on 2.10.0, the

Re: Our paper on Apache Camel

2012-10-29 Thread Claus Ibsen
Hi Thanks for sharing the paper with the Camel community. I just quickly read the paper. Seems you guys had taken the proper time to do your investigations. Just a note. The conference is named CamelOne, not Apache CamelOne. Would the paper be published officially in the future? If so let us

Re: Host header not set correctly with camel-http4

2012-10-29 Thread Claus Ibsen
On Fri, Oct 26, 2012 at 9:01 PM, Maxime Tremblay maximetremb...@acprail.com wrote: Hi All, I just have to switch to camel-http4 for some request proxying whit bridgeEnpoint=true. Now I have the problem that the Host header is not set correctly in the HTTP request. The original Host is put

Re: Camel context autostartup

2012-10-29 Thread Benjamin Graf
Hi Claus, thanks so far. But does any method exists to avoid auto starting context using Spring OSGi with bundles activated? Benjamin Original-Nachricht Datum: Mon, 29 Oct 2012 09:33:49 +0100 Von: Claus Ibsen claus.ib...@gmail.com An: users@camel.apache.org Betreff: Re:

Re: Camel context autostartup

2012-10-29 Thread Claus Ibsen
On Mon, Oct 29, 2012 at 10:25 AM, Benjamin Graf benjamin.g...@gmx.net wrote: Hi Claus, thanks so far. But does any method exists to avoid auto starting context using Spring OSGi with bundles activated? No, but you can if possible just dont start the bundle itself. And then start the bundle

Re: Trigger start/stop/resume/suspend of a camel route using queue, db

2012-10-29 Thread Claus Ibsen
On Thu, Oct 25, 2012 at 4:06 PM, rajasekar ext-rajasekar@nokia.com wrote: Hi , Can you provide me some sample of camel context which uses suspend and resume route . I have requirement to suspend a route ( in a camel-context.xml ) when n number errors occurred calling a http endpoint and

Re: Urgent help needed on PGP decryption - error setting asymmetric cipher

2012-10-29 Thread Claus Ibsen
Hi Maybe you are hit by FAQ #1 http://www.bouncycastle.org/wiki/display/JA1/Frequently+Asked+Questions I am not sure though. If you are hit by the key length export restrictions on the JDK. Also have you googled that exception and found some answers on that. And what JDK and OS are you using?

Re: JMS Component - Activation Spec

2012-10-29 Thread Claus Ibsen
On Thu, Oct 25, 2012 at 1:49 AM, Patrick Bray patrick.b...@gmail.com wrote: Hi All, I know this question has been raised previously on Stack Overflow but I couldn't find an answer so thought I would raise it here. Is it possible to connect the Apache Camel JMS Component to an Activation

Re: external scheduler integration

2012-10-29 Thread Claus Ibsen
On Sun, Oct 28, 2012 at 5:26 PM, bung_ho bung...@hotmail.com wrote: Thanks for the reply. The message queue is a good idea but obviously it will take a little more work on the scheduler side to implement, not sure if I can get the help from that side in order to do it. I will consider this as

Re: Camel context autostartup

2012-10-29 Thread Benjamin Graf
Original-Nachricht Datum: Mon, 29 Oct 2012 10:30:36 +0100 Von: Claus Ibsen claus.ib...@gmail.com An: users@camel.apache.org Betreff: Re: Camel context autostartup On Mon, Oct 29, 2012 at 10:25 AM, Benjamin Graf benjamin.g...@gmx.net wrote: Hi Claus, thanks so far.

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread anaCortes
Hi Claus, thank you for your quick answer. With the option to do more frequent polling, do you mean the receiveTimeout option? We are using this option to 250, so this should poll messages every 250 ms. I don´t understand why some messages are always stuck on the reply queue if the next

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread Claus Ibsen
On Mon, Oct 29, 2012 at 12:30 PM, anaCortes anquiroe...@hotmail.com wrote: Hi Claus, thank you for your quick answer. With the option to do more frequent polling, do you mean the receiveTimeout option? Yes. We are using this option to 250, so this should poll messages every 250 ms. I

Re: Trouble with split/tokenize on linux

2012-10-29 Thread Denis S
Hi Willem, Thanks for the help. Unfortunatelly, the issue still remains. I checked the files and see that all lines are terminated with \0a properly. Is it possible the issue is not in the broken line, but in the subsequent lines which contain some special characters? Thanks, Denis -- View

Re: Camel context autostartup

2012-10-29 Thread Benjamin Graf
The poor OSGi runtime is JBoss OSGi which is still a technology preview but is a feature of JBoss AS7. I know Karaf but it is no alternative for me. Might change sometime if karaf has been integrated into JBoss. May be the Fuse (RedHat) guys out there can tell something about that! ;-)

Re: Camel context autostartup

2012-10-29 Thread Claus Ibsen
On Mon, Oct 29, 2012 at 1:09 PM, Benjamin Graf benjamin.g...@gmx.net wrote: The poor OSGi runtime is JBoss OSGi which is still a technology preview but is a feature of JBoss AS7. I know Karaf but it is no alternative for me. Might change sometime if karaf has been integrated into JBoss.

How to shutdown AggregationStrategy when there is no InFlight exchange

2012-10-29 Thread ladoe00
Hi, my application is running inside OSGi and I am using an AggregationStrategy that will write data to a file. While this file is being aggregated, it's location is in a temp directory and when the aggregation times out or completes, we move the file to the application's output directory.

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread anaCortes
The messages should be consumed if its JMSCorrelationID matches a id that was sent from a request. Where is this checking done? I could take a look at the code. It uses JMSSelector to match which messages to pickup as reply messages, that matches JMSCorrelationID set on sending the

Re: Our paper on Apache Camel

2012-10-29 Thread Claus Ibsen
Hi Ramkumar On page 2, section I, you have literature review. Did you not look at published books for the various projects? Both Camel, Mule and Spring Integration have books on the matter. IMHO this is a quality sign of a project when books have been published, or are in the works.

Re: Camel context autostartup

2012-10-29 Thread Benjamin Graf
Original-Nachricht Datum: Mon, 29 Oct 2012 13:20:09 +0100 Von: Claus Ibsen claus.ib...@gmail.com An: users@camel.apache.org Betreff: Re: Camel context autostartup On Mon, Oct 29, 2012 at 1:09 PM, Benjamin Graf benjamin.g...@gmx.net wrote: The poor OSGi runtime is JBoss

Queue Browsing in distributed queue Env

2012-10-29 Thread ambarish.d
Hello All, Sorry for re-posting as my previous post was abducted by an another academics topic. tI am using Apache ActiveMQ distributed queues, on executing endPoint.getExchanges(), I am actually getting messages from a random broker where camel is connected now. JmsQueueEndpoint endPoint =

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-10-29 Thread Christian Müller
Could you check whether this issue also exists with ActiveMQ 5.7.0!? Best, Christian Sent from a mobile device Am 29.10.2012 13:52 schrieb anaCortes anquiroe...@hotmail.com: The messages should be consumed if its JMSCorrelationID matches a id that was sent from a request. Where is this

Jetty Consumer maxThreads

2012-10-29 Thread cgsk
Hello there, I am using Camel-jetty 2.8.2 exposing a jetty consumer which uses bridgeEndpoint=true routing to a external HTTP endpoint. But if I hit consecutively three url request to the jetty consumer, it only consumes one by one. I tried with minThreads and maxThreads options in the jetty

Re: Host header not set correctly with camel-http4

2012-10-29 Thread Maxime Tremblay
Thanks much, your proposed fix is working well. I opened the jira ticket https://issues.apache.org/jira/browse/CAMEL-5757for this problem. Max On Mon, Oct 29, 2012 at 5:14 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Fri, Oct 26, 2012 at 9:01 PM, Maxime Tremblay maximetremb...@acprail.com

Re: Jetty Consumer maxThreads

2012-10-29 Thread Claus Ibsen
On Mon, Oct 29, 2012 at 5:04 PM, cgsk karthik2...@gmail.com wrote: Hello there, I am using Camel-jetty 2.8.2 exposing a jetty consumer which uses bridgeEndpoint=true routing to a external HTTP endpoint. But if I hit consecutively three url request to the jetty consumer, it only consumes one

Re: Trouble with split/tokenize on linux

2012-10-29 Thread Denis S
I turned on TRACE logging for Camel. As I can see, many lines were processed correctly. But at some point it returns a 'broken' line after the tokenizer and the line can't be parsed by CSVParser: 2012-10-29 12:51:28.634 [Camel (import-context) thread #6 - file://../import] TRACE

Re: Trouble with split/tokenize on linux

2012-10-29 Thread James Carman
Could it be a line terminator issue, perhaps? On Mon, Oct 29, 2012 at 1:31 PM, Denis S dsoukhoros...@yahoo.com wrote: I turned on TRACE logging for Camel. As I can see, many lines were processed correctly. But at some point it returns a 'broken' line after the tokenizer and the line can't be

Problem With Camel Aggregator

2012-10-29 Thread gtesta13
Hi, I have a route that looks like this: from(cxf:bean:personasEndpoint).to(ReqPreProcessor).to(seda:a?multipleConsumers=true); from(seda:a).to(CXFProcessor1).to(cxf:bean:Consulta1Service).to(direct:b); from(seda:a).to(CXFProcessor2).to(jdbc:pgDS).to(direct:b);