Re: camel-ftp problems with ftps implicit mode

2010-06-04 Thread Bengt Rodehav
God you're fast. I made my own attempts and attached diff files to the JIRA issue you created. I also added a couple of comments/suggestions to the issue. In short I believe that it is probably easier for the user/developer if it is enough to specify whether a secure data channel should be used or

Re: Aggregator problem with files (Camel 2.3)

2010-06-04 Thread Claus Ibsen
On Fri, Jun 4, 2010 at 3:20 PM, ankelee wrote: > > Ok I will do it when I get the time later today hopefully. > > I also have to find out how to submit samples to JIRA? > Just attach it as a ZIP file. There is a link with "Attach file" in JIRA > > > Claus Ibsen-2 wrote: >> >> On Fri, Jun 4, 2010

Re: camel-ftp problems with ftps implicit mode

2010-06-04 Thread Claus Ibsen
Hi On Fri, Jun 4, 2010 at 3:42 PM, Bengt Rodehav wrote: > OK, will try to do that sometime this weekend. > > Will be in touch, > I was one step ahead of you. I created the ticket and took a stab at resolving it. https://issues.apache.org/activemq/browse/CAMEL-2790 Can you try with the latest so

Re: camel-ftp problems with ftps implicit mode

2010-06-04 Thread Bengt Rodehav
OK, will try to do that sometime this weekend. Will be in touch, /Bengt 2010/6/4 Claus Ibsen > Hi > > Well spotted. Do you mind creating a JIRA ticket and link to this post > using nabble etc. > And you may even want to contribute a patch :) > > > On Fri, Jun 4, 2010 at 11:34 AM, Bengt Rodehav

Re: Aggregator problem with files (Camel 2.3)

2010-06-04 Thread ankelee
Ok I will do it when I get the time later today hopefully. I also have to find out how to submit samples to JIRA? Claus Ibsen-2 wrote: > > On Fri, Jun 4, 2010 at 1:56 PM, ankelee wrote: >> >> You think it might be a bug? >> > > Yeah as there is a NPE error in the camel-core. > It was expect

Re: Clustering with camel-quartz

2010-06-04 Thread Ingo Düppe
Hi Claus, fine, I might possibly have some time on next monday to create a patch for it. If not then in two weeks after my vacation I will create a patch for it. Regards Ingo Am 04.06.10 06:55, schrieb Claus Ibsen: > Hi Ingo > > On Thu, Jun 3, 2010 at 10:30 PM, Ingo Düppe wrote: > >> Hi Cla

Re: good solution to work with jms message priority

2010-06-04 Thread Christian Mueller
Thanks for the quick responses... Mixed processing of messages with different priorities is not a problem for us. What we have to prevent is, that an online request is only processed (with a huge delay) after all batch messages (several thousands) are processed. Writing in different queues is pos

Re: Aggregator problem with files (Camel 2.3)

2010-06-04 Thread Claus Ibsen
On Fri, Jun 4, 2010 at 1:56 PM, ankelee wrote: > > You think it might be a bug? > Yeah as there is a NPE error in the camel-core. It was expected to find an aggregated exchange using a correlation key but it could not, it returned null. So if you got a sample then I can debug it to see where the

Re: Aggregator problem with files (Camel 2.3)

2010-06-04 Thread ankelee
You think it might be a bug? "And why does the Z file rollback?" That is the question :) Claus Ibsen-2 wrote: > > Hi > > Can you create a JIRA ticket and if possible attach a small test / > unit test about this. > > And why does the Z file rollback? > > > On Fri, Jun 4, 2010 at 1:22 PM,

Re: good solution to work with jms message priority

2010-06-04 Thread Claus Ibsen
On Fri, Jun 4, 2010 at 1:47 PM, Christian Schneider wrote: > How about simply using two separate queues. This way you don´t have to care > about selectors. > > If the sender can not do this then you could still use a content based > router to route to two queues. Then at least the incoming queue w

Re: Aggregator problem with files (Camel 2.3)

2010-06-04 Thread Claus Ibsen
Hi Can you create a JIRA ticket and if possible attach a small test / unit test about this. And why does the Z file rollback? On Fri, Jun 4, 2010 at 1:22 PM, ankelee wrote: > > I'm trying to use the aggregator like so: > > >         uri="file:{{directory.outgoing}}?include=\A{{edifact.message

Re: good solution to work with jms message priority

2010-06-04 Thread Christian Schneider
How about simply using two separate queues. This way you don´t have to care about selectors. If the sender can not do this then you could still use a content based router to route to two queues. Then at least the incoming queue will always be emptied quite fast. Of course then the gain will de

Re: good solution to work with jms message priority

2010-06-04 Thread Charles Moulliard
Hi Christian, As the two routes will create JMS concurrent consumers on the queue 'queue:inbox' with the same consumer.priority, I don't think that messages with priority > 4 will be processed before the others as the messages created by camel during the exchange will be send to the same endpoint

Re: good solution to work with jms message priority

2010-06-04 Thread Claus Ibsen
On Fri, Jun 4, 2010 at 1:20 PM, Christian Mueller wrote: > > Hello list, > > I have a requirement to process online (coming from an external web service) > and batch (several thousand) messages. The online messages are more prior > (the customer is waiting of the response) and should be processed

Aggregator problem with files (Camel 2.3)

2010-06-04 Thread ankelee
I'm trying to use the aggregator like so: /edi/transaction[1]/@VirNo virNo

good solution to work with jms message priority

2010-06-04 Thread Christian Mueller
Hello list, I have a requirement to process online (coming from an external web service) and batch (several thousand) messages. The online messages are more prior (the customer is waiting of the response) and should be processed before the batch messages (I think a common requirement). Because Ac

camel-ftp problems with ftps implicit mode

2010-06-04 Thread Bengt Rodehav
I'm using camel-ftp for secure ftps communication. I need to be able to connect to a wide range of ftps servers in both explicit and implicit mode. I have encountered problems using camel-ftp for ftps communication in implicit mode. Some ftps servers require that the file transfer is encrypted (no

Re: camel-ftp problems with ftps implicit mode

2010-06-04 Thread Claus Ibsen
Hi Well spotted. Do you mind creating a JIRA ticket and link to this post using nabble etc. And you may even want to contribute a patch :) On Fri, Jun 4, 2010 at 11:34 AM, Bengt Rodehav wrote: > I'm using camel-ftp for secure ftps communication. I need to be able to > connect to a wide range of

Re: File Consumer directoryName problem

2010-06-04 Thread Claus Ibsen
On Fri, Jun 4, 2010 at 10:53 AM, dherla2 wrote: > > I have a configuration problem. > > The development environment and the production environment have different > directory structure. > > I need a way to parametrize the directoryName with a system property. > Is there is a way ? > > Example : > d

Re: How does glogin deal with the ClientLogin CAPTCHA request?

2010-06-04 Thread Martin Krasser
I'm back again - was only a bit late with my reply - sorry :) The glogin component doesn't support CAPTCHA challenges (at the moment). This component is primarily used for programmatic (non-interactive) logins, although the component could delegate the challenge to the glogin application and s

File Consumer directoryName problem

2010-06-04 Thread dherla2
I have a configuration problem. The development environment and the production environment have different directory structure. I need a way to parametrize the directoryName with a system property. Is there is a way ? Example : dev : from("file://C:/test/docbtodocumentum/data/?include=.*(.ged)")

Re: How does glogin deal with the ClientLogin CAPTCHA request?

2010-06-04 Thread Claus Ibsen
On Thu, Jun 3, 2010 at 3:04 PM, Dan Dubois wrote: > > The Google ClientLogin manual > http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html > http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html > indicates that a CAPTCHA is sometimes used as a challenge. > > How does

Re: FTP Component That Consumes On Demand

2010-06-04 Thread Guillaume Nodet
Right, this use case is even exactly described at http://camel.apache.org/ftp.html#FTP-ConsumingaremoteFTPservertriggeredbyaroute On Fri, Jun 4, 2010 at 09:43, Claus Ibsen wrote: > On Fri, Jun 4, 2010 at 9:29 AM, Guillaume Nodet wrote: >> I think Carlo wants to be able to *not* always poll f

Re: Using CamelHttpComponent to download file

2010-06-04 Thread Willem Jiang
Hi, How did you send the request message to "direct:start"? I just wrote a simple test and ran it without any issue. Here is the route that I use, from("direct:start").setHeader(Exchange.HTTP_METHOD, constant("GET")) .to("http://jnn.javaeye.com/blog/458192";).setHeader(Exchange.FILE_NAME, con

Re: FTP Component That Consumes On Demand

2010-06-04 Thread Claus Ibsen
On Fri, Jun 4, 2010 at 9:29 AM, Guillaume Nodet wrote: > I think Carlo wants to be able to *not* always poll for new files, > which is what the polling consumer does. > Instead, he's looking for something like an HTTP GET method, which is > not really a consumer but a provider with no input. > T

Re: FTP Component That Consumes On Demand

2010-06-04 Thread Guillaume Nodet
I think Carlo wants to be able to *not* always poll for new files, which is what the polling consumer does. Instead, he's looking for something like an HTTP GET method, which is not really a consumer but a provider with no input. The idea (iiuc) would be to send an exchange to the ftp provider whic

Re: FTP Component That Consumes On Demand

2010-06-04 Thread Claus Ibsen
Hi You are looking at the polling consumer EIP http://camel.apache.org/polling-consumer.html However Content Enricher EIP is also doable http://camel.apache.org/content-enricher.html as there is a pollEnrich DSL for that. However passing in the filename on the URI is a bit hard to do. There is a