Re: SFTP rename problems

2010-04-20 Thread Claus Ibsen
Hi I tacked down an issue in the camel-core https://issues.apache.org/activemq/browse/CAMEL-2662 Can you try to test with latest code on your system? On Wed, Apr 21, 2010 at 6:13 AM, Claus Ibsen wrote: > On Wed, Apr 21, 2010 at 3:31 AM, watcher wrote: >> >> I tried upgrading to jcraft v0.1.4

Re: SFTP rename problems

2010-04-20 Thread Claus Ibsen
On Wed, Apr 21, 2010 at 3:31 AM, watcher wrote: > > I tried upgrading to jcraft v0.1.42 but the problem still exists. > > I can recreate the problem by copying a large file > 1MB onto the Sftp > server, and keeping the file open until after the next poll. > Ah makes sense. The sftp component is t

Re: SFTP rename problems

2010-04-20 Thread watcher
I tried upgrading to jcraft v0.1.42 but the problem still exists. I can recreate the problem by copying a large file > 1MB onto the Sftp server, and keeping the file open until after the next poll. Claus Ibsen-2 wrote: > > Hi > > Btw you can try upgrading to a new jcraft .jar. v0.1.42 is o

Remote broker message behavior

2010-04-20 Thread jfaath
I have a camel application that's using a remote ActiveMQ broker instance. Messages come in to the application via HTTP and are sent to a "inbound" queue using "inOnly". Messages are then processed and sent to a "processed" queue. Finally, if an error occurred during processing, those messages

Re: Camel SMTP Server

2010-04-20 Thread Norman Maurer
Hi Jim, just re-use the part of james should be straight forward. Gimme till tomorrow to post some more details. No time atm.. Sorry Bye, Norman 2010/4/20 Jim Talbut : > Hi Norman, > > That sounds about right. > I'm not sure yet whether this is the approach we're going to be taking for > this bi

Re: Trying to consume files with a special filename extension

2010-04-20 Thread bbuzzard
I figured out part of the problem. The ".+" should indicate that we want 1 or more characters, but including it in the expression prevents the exception for working at all. Thank goodness for Test files. I found an example Test file that showed using the "include" and "exclude" parameters. I n

Re: Camel SMTP Server

2010-04-20 Thread Jim Talbut
Hi Norman, That sounds about right. I'm not sure yet whether this is the approach we're going to be taking for this bit of work (as opposed to dumping in a mail server). How much work would it be to extract the camel component from James? Thanks Jim On 20/04/2010 19:23, Norman Maurer wrote:

Re: Camel SMTP Server

2010-04-20 Thread Norman Maurer
Hi Jim, there isn't such a component in camel itself. Anyway we at JAMES (james.apache.org) do exactly this in our current development version. We accept email via SMTP and store it in JMS via camel. . This will then get picked up via Camel. This could easily adjusted to just process it via camel

Camel SMTP Server

2010-04-20 Thread Jim Talbut
Is there a camel smtp server component? i.e. I want to recieve mails via SMTP and then pass them on to the route, not have them stored in a mail server and picked up by a POP/IMAP poll. If not, is there any reason for the absence other than the lack of a suitable library? Thanks Jim

Re: Graceful shutdown of Camel-Jetty component. (Camel 2.2.0)

2010-04-20 Thread Ilya S
Hi Claus, Thanks for creating a ticket. I think Service Unavaliable should be find for load balancer (LB). In my particular case load balancer will be checking some predefined healthcheck/status page with a status info that can be parsed by LB. E.g. every 5 seconds the LB will issue a GET request

Trying to consume files with a special filename extension

2010-04-20 Thread bbuzzard
I have a drop folder that contains files with many different extensions. I would like to route files with a particular extension into a queue. It looks like the parameter "include" does exactly what I want, but I'm having trouble specifying any regex that will work. In my test example I creat

Re: Mail component support direct connection to send email as opposed to smtp

2010-04-20 Thread Ashwin Karpe
Hi, Not sure about what you mean by direct connection. I you mean "direct:..." then the answer is no. The camel-mail component supports SMTP(S), POP3(S) and IMAP(S) based connections. Cheers, Ashwin... Srini97 wrote: > > Hello , > > is there any way that we can send the mail over direct co

Re: Velocity component

2010-04-20 Thread Ashwin Karpe
Hi Olivier, This is not possible at the moment with the velocity component since there is no way to assume that the payload in the exchange body is an XML fragment. It could be a straight text string or a GIF/JPEG. But there is a workaround. If you know that payload to be XML, you could create t

Re: How to route a message to remote ActiveMQ broker(s) dynamically?

2010-04-20 Thread Ashwin Karpe
Hi, A better approach would be to create connection objects for the remote brokers and have them stored in JNDI or LDAP (if it is an embedded broker, have the app creating the broker store a connection object in JNDI/LDAP). The camel route can then simple grab a reference and send a message to t

Re: Problem with spring / camel integration

2010-04-20 Thread Kevin Fightmaster
Thanks Claus, The OSGI jar was the issue. Not sure if this makes it back to the original post. The mailing list is all messed up for me. Forum posts don't make it to the mailing list and replies to my mailing list dont make it back to my email. Anywho! Thanks again!

Re: Problem with spring / camel integration

2010-04-20 Thread Claus Ibsen
Hi Looks like you got some classpath mixup. Are you trying to run it in an OSGi container or not? If not you should NOT have the camel-osgi.jar or camel-spring-osgi.jar in the classpath. > WARN [main] (OsgiCamelContextHelper.java:78) - BundleContext not set, > cannot run in OSGI container On

Problem with spring / camel integration

2010-04-20 Thread Kevin Fightmaster
I have the following two tests running against my application. I'm looking for help on why B is failing. A: public static void main1(String[] args) throws Exception { CamelContext context = new DefaultCamelContext(); ConnectionFactory connectionFactory = new ActiveMQConnection

Re: Load Balancer Clarification

2010-04-20 Thread Claus Ibsen
Hi On Tue, Apr 20, 2010 at 11:01 AM, Martin Gilday wrote: > Hi, > > I'm just reading through the Load Balancer docs [1] and would like some > clarification on how it works. > > I have a JMS queue where each entry is the name of a file to print. > This is consumed a printing component (our own not

Re: Quickfix send/receive messages in both directions

2010-04-20 Thread Claus Ibsen
Hi Sorry for the late reply by the community. On Fri, Apr 16, 2010 at 6:22 PM, Steve Bate wrote: > > > cmoulliard wrote: >> >> Hi, >> >> Communication with FIX engine is different from a pure client - server >> communication. >> > > Hello, > > I'm the author of QuickFIX/J. I wanted to clarify a

Load Balancer Clarification

2010-04-20 Thread Martin Gilday
Hi, I'm just reading through the Load Balancer docs [1] and would like some clarification on how it works. I have a JMS queue where each entry is the name of a file to print. This is consumed a printing component (our own not the Camel one) which uses Ice PDF to render a PDF document and send to

Re: Graceful shutdown of Camel-Jetty component. (Camel 2.2.0)

2010-04-20 Thread Claus Ibsen
Hi I have created a ticket https://issues.apache.org/activemq/browse/CAMEL-2660 And did some experiment but Jetty resets the current in progress connection so it will fail. I even tried sending from a webbrowser and have Camel stop while in progress. Would returning a selected HTTP error code wo