Re: Splitting a POJO message into multiple messages containing values of a collection from a stored as a field on the POJO.

2012-10-08 Thread Claus Ibsen
On Sun, Oct 7, 2012 at 5:09 PM, Mark Doyle wrote: > Hi all, > > I there a simple way of taking a POJO from a message body and calling a > method on one of it's fields, e.g someMap.values() to return messages for > each element in a collection. I want to do this for a splitter. > > I can do it with

Re: Best Practise for (Dynamic Topic in Ear Project)

2012-10-08 Thread zuff
Hi Christian, Thanks for the prompt reply. After discussion we have decided to go with the temp-queue as suggested. However, I have some clarification to make. 1. There are actually 2/3 camel-contexts running. a. One of the camel-context is runnnig in an deployed EAR project

Re: lifecycle of components

2012-10-08 Thread Claus Ibsen
On Fri, Oct 5, 2012 at 4:23 PM, Claus Ibsen wrote: > On Thu, Oct 4, 2012 at 12:56 PM, Tim Dudgeon wrote: >> Thanks, Got it working with a Processor. >> start() seems to be called twice. Is this expected? >> > > You can extend ServiceSupport then it keeps track of its state. Then > use the doStart

Mina Entpoint-Change in Runtime

2012-10-08 Thread siga
HHello, I have a mina-enpoint, who change his Adress in Runtime. Ever it change in a new adress camel throws exceptions. Maybe somebody can help me? Simon -- View this message in context: http://camel.465427.n5.nabble.com/Mina-Entpoint-Change-in-Runtime-tp5720728.html Sent from the Camel - Us

RE: Netty or Mina Async in the same socket

2012-10-08 Thread Flavio Magacho - M4U
Thank you Claus, I'll try the fix and tell you if it works. Talking about how I reproduced the problem: I open 2 telnet connections from different computers and I typed a sequence of 3 letters and an , in computer A I typed a sequence of A's and in computer B I typed a sequence of B's. Doing thi

smpp consumer inflight exchanges keep growing

2012-10-08 Thread fclose
Hi, I configured a route that listens to incoming sms. The route receives a lot of sms and everything seems to go fine except for 2 things: 1. the number of inflight exchange grow slowly but constantly (after an uptime of 55 hours I have 250 inflight exchanges. 2. the number of inflight exhange

Re: Splitting a POJO message into multiple messages containing values of a collection from a stored as a field on the POJO.

2012-10-08 Thread Mark Doyle
Hi Claus, Nothing so complex actually. I simply want to call a method on the POJO's map field. Here's the full example: I have a POJO arriving in a message body. The POJO has a Map field, let's say someMap. I want to split the message into multiple messages, one for each value in the map. I don'

Re: Splitting a POJO message into multiple messages containing values of a collection from a stored as a field on the POJO.

2012-10-08 Thread Claus Ibsen
On Mon, Oct 8, 2012 at 2:28 PM, Mark Doyle wrote: > Hi Claus, > > Nothing so complex actually. I simply want to call a method on the POJO's > map field. > > Here's the full example: > > I have a POJO arriving in a message body. The POJO has a Map field, let's > say someMap. I want to split the mes

Re: Upgrade camel-ftp (sftp) to use latest JSch (0.1.48)

2012-10-08 Thread Claus Ibsen
On Mon, Oct 8, 2012 at 2:17 PM, Bengt Rodehav wrote: > I've had some stability problems using the camel-ftp component for sftp. I > haven't been able to find the root cause of this yet but I have noticed > that Camel is still on JSch version 0.1.44. I think it makes sense to > upgrade to the lates

Re: smpp consumer inflight exchanges keep growing

2012-10-08 Thread Claus Ibsen
Hi Thanks for reporting. I have logged a ticket https://issues.apache.org/jira/browse/CAMEL-5691 Could it be somewhat the sms message is empty or something? On Mon, Oct 8, 2012 at 2:18 PM, fclose wrote: > Hi, > > I configured a route that listens to incoming sms. > The route receives a lot of s

Jboss 7 and camel -bindy 2.10

2012-10-08 Thread Elezabeth
Hi , I am using Jboss server 7 . I am trying to deploy my war file in the server and to make camel work using my Jboss. I am using camel jars of version 2.10. The war file deployed and the camel context also starts up. But when I am trying to read a file using camel I am getting the following er

Re: Upgrade camel-ftp (sftp) to use latest JSch (0.1.48)

2012-10-08 Thread Bengt Rodehav
Perfect - thanks a lot, /Bengt 2012/10/8 Claus Ibsen > On Mon, Oct 8, 2012 at 2:17 PM, Bengt Rodehav wrote: > > I've had some stability problems using the camel-ftp component for sftp. > I > > haven't been able to find the root cause of this yet but I have noticed > > that Camel is still on JS

Re: smpp consumer inflight exchanges keep growing

2012-10-08 Thread fclose
I don't know as far as I can tell the exchange is not created due to the NullPointer and my code is not seeing the wrong sms / exchanges. Any idea how I could debug that ? Given it does not happen a lot: 290 errors on 9 exchanges. -- View this message in context: http://camel.465427

Re: Jboss 7 and camel -bindy 2.10

2012-10-08 Thread Scott England-Sullivan
Hi Elz, What separator do you have defined on the @CsvRecord(separator = ""? The exception states that none was found: The separator has not been defined in the annotation @CsvRecord or not instantiated during initModel. must be specified: java.lang.IllegalArgumentException: The separator has no

RE: Netty or Mina Async in the same socket

2012-10-08 Thread Flavio Magacho - M4U
Claus, I'm testing this case with Servicemmix, how can I change the camel Libs?? -Original Message- From: Flavio Magacho - M4U [mailto:flavio.maga...@m4u.com.br] Sent: segunda-feira, 8 de outubro de 2012 09:52 To: users@camel.apache.org Subject: RE: Netty or Mina Async in the same socket

Re: Jboss 7 and camel -bindy 2.10

2012-10-08 Thread Chris Wolf
Elz, I would consider a different deployment strategy. Your Camel routes are (architecturally) considered part of the backend tier - so why deploy in a WAR deployment? For JBoss, I found that their "Spring Deployer" works very well. It's available from JBoss, from their project "Snowdrop", whic

File name as (Program|Delta)_YYYYDDMM.zip for File and FTP consumer?

2012-10-08 Thread vishal1981
Hi, I want to define a FTP consumer such that it consumes files with names such as, Program_20121008.zip, Delta_20121008.zip etc. i.e. Some filename patter followed by _ followed by toda's date. Now if I use the fileName property of the File consumer I can define the name as Program_${date:now:

Re: File name as (Program|Delta)_YYYYDDMM.zip for File and FTP consumer?

2012-10-08 Thread Willem jiang
Camel has the GenericFileFilter[1] interface that you can use the do this kind of job. [1]http://camel.apache.org/ftp2.html#FTP2-Filterusing%7B%7Borg.apache.camel.component.file.GenericFileFilter%7D%7D -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.

Re: Netty or Mina Async in the same socket

2012-10-08 Thread Willem jiang
It's depends on what's version of service mix are you using. As Apache Camel provides patch releases, it could be possible that you just replace the camel-netty or camel-mina jars with that latest one. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.

Re: smpp consumer inflight exchanges keep growing

2012-10-08 Thread Willem jiang
It looks like the message body is null, can you double check it ? -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaey