Re: Intercept issue - need help

2011-12-20 Thread Willem Jiang
You need to handle the exchange carefully, as the file will be moved when the exchange done is called. If you create a new exchange which is based on the old one, you need to call the below method to handover Completions. // Need to hand over the completion for async invocation exc

Re: Long delay for messages dispatched to queue consumer

2011-12-20 Thread Willem Jiang
Can you try the latest released Camel 2.8.3 ? BTW, how about the message size ? On Wed Dec 21 10:31:50 2011, LaSalle, Craig wrote: Hi Camel Users - I'm using: Camel version 2.6.0 ActiveMQ version 5.5.0 Spring version 3.0.5.RELEASE The problem: I have a simple route that gets a message from

Re: Past release info

2011-12-20 Thread Willem Jiang
We don't have the actual release date for the Apache project. If everything is ready, we just announce the release. You can keep looking the news[1] of Apache Camel 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:

RE: Past release info

2011-12-20 Thread Narita Bagchi
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 the team, for an upgradation. You have any idea where I can get the date of the releases so far? Thanks. From: Wi

Re: Past release info

2011-12-20 Thread Willem Jiang
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 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/down

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

Long delay for messages dispatched to queue consumer

2011-12-20 Thread LaSalle, Craig
Hi Camel Users - I'm using: Camel version 2.6.0 ActiveMQ version 5.5.0 Spring version 3.0.5.RELEASE The problem: I have a simple route that gets a message from a queue, and just outputs a trace statement. When I run a bunch of messages through the queue, several hundred work OK, then the mess

Re: Copying files from an FTP server using search criteria

2011-12-20 Thread alexey-s
Hi I designed their own implementation of the filter directory in the form of the test. It may be useful to you. http://camel.465427.n5.nabble.com/file/n5090214/folder-filter.tar.gz folder-filter.tar.gz -- View this message in context: http://camel.465427.n5.nabble.com/Copying-files-from-an-FTP-

Re: Passing Header / Properties to Bean

2011-12-20 Thread Christian Müller
Did you checked the link? If so, you should notice the @Properties annotation... Christian On Tue, Dec 20, 2011 at 4:47 PM, ebinsingh < ebenezer.si...@verizonwireless.com> wrote: > Thanks a lot for the quick reply. Is there a similar annotation to pass > Exchange Properties. > > -- > View this m

Dynamically loading XML configured routes

2011-12-20 Thread db
Hello I need to externalise mappings with Spring XML as per the example here: http://camel.apache.org/how-do-i-import-routes-from-other-xml-files.html I'm after a solution that automatically adds all configured routes to my single Camel context. It seems that Camel has a feature which does what

Re: FT2: How do I know the list of file that a Consumer FTP2 is receiving?

2011-12-20 Thread alexey-s
Using the shutdown gracefully strategy can lead to a disconnection before the file will be downloaded. The parameter "localWorkDirectory" helps in this situation. The next iteration of the process will restore the connection and continue to read the file. -- View this message in context: http://c

Re: FT2: How do I know the list of file that a Consumer FTP2 is receiving?

2011-12-20 Thread bvahdat
You cann't simply interrupt the reception in the middle of the file transfer as GenericFileConsumer and all it's specializations (in your case FtpConsumer) are ShutdownAware, see http://camel.apache.org/graceful-shutdown.html for the details. > In my case, the route would run every 2 minutes (apro

Camel components are not registered to JMX

2011-12-20 Thread Neo
Hi, I am trying to read from a JMS Topic that is hosted on the weblogic server. I have added the connection factory information and I have included the Weblogic Client jar file in my Camel Application. I was able to bundle the application and deploy it in Tomcat. When the server was star

Re: Passing Header / Properties to Bean

2011-12-20 Thread ebinsingh
Thanks a lot for the quick reply. Is there a similar annotation to pass Exchange Properties. -- View this message in context: http://camel.465427.n5.nabble.com/Passing-Header-Properties-to-Bean-tp5089208p5089239.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Passing Header / Properties to Bean

2011-12-20 Thread bvahdat
> Hi All, > I am using wireTap to log the header / properties details. > I also want to make sure I do not copy the whole body of the message as > that would cause memory related issues when dealing with large number of > huge input files. > I am trying to understand the behind the scene work of C

Re: FT2: How do I know the list of file that a Consumer FTP2 is receiving?

2011-12-20 Thread Raul
Thank you, Babak, But, I want to stop the consumer, or the route, without interrupt a reception. In my case, the route would run every 2 minutes (aprox.), but it is possible that in some cases there are high-volume files that take longer than 2 minutes. I don't want to long checking more than 2 m

Passing Header / Properties to Bean

2011-12-20 Thread ebinsingh
Hi All, I am using wireTap to log the header / properties details. I also want to make sure I do not copy the whole body of the message as that would cause memory related issues when dealing with large number of huge input files. I am trying to understand the behind the scene work of Camel. I tr

Re: Pausing Routes

2011-12-20 Thread bvahdat
No, look at [1] for it's complete documentation. [1] http://camel.apache.org/pojo-consuming.html Babak -- View this message in context: http://camel.465427.n5.nabble.com/Pausing-Routes-tp5086372p5089207.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Pausing Routes

2011-12-20 Thread Tom Howe
Does @consume not create an underlying route ? On Tue, Dec 20, 2011 at 3:13 PM, Claus Ibsen wrote: > On Tue, Dec 20, 2011 at 4:08 PM, Tom Howe wrote: > > Hi Claus, > > Why is graceful shutdown important for suspend/resume? > > > > I think this is what I need.. > > myCamelContext.suspendRout

Re: Pausing Routes

2011-12-20 Thread Claus Ibsen
On Tue, Dec 20, 2011 at 4:08 PM, Tom Howe wrote: > Hi Claus, > Why is graceful shutdown important for suspend/resume? > > I think this is what I need.. >   myCamelContext.suspendRoute("routeId"); >   myCamelContext.resumeRoute("routeId"); > Yes use that API > We are using @consume, is there a wa

Re: Pausing Routes

2011-12-20 Thread Tom Howe
Hi Claus, Why is graceful shutdown important for suspend/resume? I think this is what I need.. myCamelContext.suspendRoute("routeId"); myCamelContext.resumeRoute("routeId"); We are using @consume, is there a way to specify routeId when using @consume? or a way to call suspendRoute from @con

Re: Pausing Routes

2011-12-20 Thread Claus Ibsen
On Tue, Dec 20, 2011 at 3:53 PM, Tom Howe wrote: > Thanks, is there an example of how to suspend a route? > You can use JMX, for example the examples/camel-example-management The API on CamelContext should have methods to suspend/resume routes. And this is the API you should use, as they use th

Re: Pausing Routes

2011-12-20 Thread Tom Howe
Thanks, is there an example of how to suspend a route? On Mon, Dec 19, 2011 at 3:52 PM, Claus Ibsen wrote: > Hi > > Some routes support suspend/resume. > > See > http://camel.apache.org/lifecycle > > On Mon, Dec 19, 2011 at 3:59 PM, Tom Howe wrote: > > Hi, > > > > If we have a route where we a

Re: camel-netty - No buffer space available (maximum connections reached?)

2011-12-20 Thread bvahdat
Hi, You maybe also want to give it a try for the *keepAlive* option as well [1] (set it to false, however there would be a performance-trade-off doing this here) and send your messages in chunks (sleep in between long enough so that all your open socket connections you've opened in each chunk-send

Re: camel-netty - No buffer space available (maximum connections reached?)

2011-12-20 Thread Claus Ibsen
Hi I think its a known issue, there is a JIRA ticket about camel-netty not reusing available connections for request/reply. You can possible work around for now doing a disconnect=true, to force a disconnect after each usage. On Tue, Dec 20, 2011 at 2:50 PM, DK wrote: > I'm hitting the followin

camel-netty - No buffer space available (maximum connections reached?)

2011-12-20 Thread DK
I'm hitting the following connection issue when sending a number of messages using camel-netty consumer+produce endpoints: My client test code is: -- View this message in context: http://camel.465427.n5.nabble.com/camel-netty-No-buffer-space-available-maximum-connections-reached-tp5088918p5

Re: Intercept issue - need help

2011-12-20 Thread ebinsingh
Hi Raul / William, Thanks for your help. Actually sending the intercept to seda queue also did not do the trick. It still messes up the original exchange. I tried creating a new ProducerTemplate, but that also did not work. If I just do a Stream:out (DSL) or System.out.print in (Java DSL) the ori

Re: FT2: How do I know the list of file that a Consumer FTP2 is receiving?

2011-12-20 Thread bvahdat
Hi Raul, instead of coding the polling-logic by yourself you could delegate that to the ftp component [1] by defining a proper route for it, see the example in [1] with the description: "In the sample below we set up Camel to download all the reports from the FTP server once every hour (60 min) a

FT2: How do I know the list of file that a Consumer FTP2 is receiving?

2011-12-20 Thread Raul
I am using a ConsumerTemplate And I am using a loop to check the files in the server. I don't know how I can differentiate that there aren't file to receive or there are a file with a big size. I will know the list of files that the route is still waiting to receive. It's posible? Thank you. B

Re: Exception in camel-cxf when soap response contains more than one element...

2011-12-20 Thread Willem Jiang
Can you check if the net.wgcorp.deviceregistrysimple.GetDevicesResponse is changed ? On Tue Dec 20 18:02:19 2011, will mad wrote: Hi Willem, I tried to re-generate the SEI but it does not change anything. Here is what it looks like : @WebService(targetNamespace = "http://wgcorp.net/DeviceRegist

Re: Exception in camel-cxf when soap response contains more than one element...

2011-12-20 Thread will mad
Hi Willem, I tried to re-generate the SEI but it does not change anything. Here is what it looks like : @WebService(targetNamespace = "http://wgcorp.net/DeviceRegistrySimple";, name = "DeviceRegistryPortType") @XmlSeeAlso({ObjectFactory.class}) public interface DeviceRegistryPortType { @Reque

Re: Intercept issue - need help

2011-12-20 Thread Raul Kripalani
Hi Willem, He was interested in preserving the original message, since the marsTraceProcessor.traceExchange transforms the body into the Entity that the JPA endpoint expects, and that Entity is transferred back to the main route after the interception is applied. That's why I suggested running thi

Re: Intercept issue - need help

2011-12-20 Thread Willem Jiang
The interceptor will affect the route, I think the we should put the trace part into the inteceptor block like this. On Tue Dec 20 06:25:07 2011, Raul Kripalani wrote: Hi Ebe, Camel delegates the connection handling to the JPA framework. Your JDBC driver may be usi

Re: Exception in camel-cxf when soap response contains more than one element...

2011-12-20 Thread Willem Jiang
Hi, It looks like you just change the WSDL, and didn't use the wsdl2java to generate the new SEI. Can you updated the generated SEI and try again ? On Tue Dec 20 01:59:49 2011, will mad wrote: Hi, I have written a simple route that regularly send a soap message using cxf : from("timer:test?