Re: trouble with a http body in my processor

2009-01-28 Thread pevgen
pevgen wrote: > > Hello, all. > > I wrote a route into my spring-config file : > > > > > http://activemq.apache.org/camel/schema/spring"; > id="camel"> > > > > > > http://localhost:8889/app"/> > > > > > > > > ... > > My problem is a

Re: JmsComponent issue with spring's JmsTransactionManager is used

2009-01-28 Thread James Strachan
2009/1/28 chrajanirao : > Hi, > > It seems to me that Spring's DMLC implementation has a flaw/bug when > JmsTransactionManager and CACHE_SESSION is used. It seems, spring is > creating a session upfront once as we have cache session and a new session > for every message in JmsTransactionManager. Th

Re: trouble with a http body in my processor

2009-01-28 Thread Claus Ibsen
On Wed, Jan 28, 2009 at 10:39 AM, pevgen wrote: > > > pevgen wrote: >> >> Hello, all. >> >> I wrote a route into my spring-config file : >> >> >> >> >> http://activemq.apache.org/camel/schema/spring"; >> id="camel"> >> >> >> >> >> >> http://localhost:8889/app"/> >> >>

Camel routes to JMS problem: one simple message sent many times (duplicated)

2009-01-28 Thread Matvey
My confuguration: I want updatesender bean to send one JMS message to Updates queue every time the method sendUM() invokes. In a real life it work a bit different... http://activemq.apache.org/camel/schema/spring";> org.apache.camel.example.spring ---

Re: Will onException handle exceptions thrown from 'when' clause?

2009-01-28 Thread Fush
Claus, do you know if there's a Camel patch for this issue? We will be looking into FUSE in the future, but we have the need for a quick fix for this now. Claus Ibsen-2 wrote: > > On Wed, Dec 17, 2008 at 9:26 AM, Fush wrote: >> >> Oh, and in the Jira issue, you suggested I use the 1.5.1-SNAPSH

Re: Will onException handle exceptions thrown from 'when' clause?

2009-01-28 Thread Claus Ibsen
On Wed, Jan 28, 2009 at 2:14 PM, Fush wrote: > > Claus, do you know if there's a Camel patch for this issue? We will be > looking into FUSE in the future, but we have the need for a quick fix for > this now. It should be fixed in the FUSE camel version 1.5.3.0 http://repo.fusesource.com/maven2/or

Re: Websphere 6.1 Deployment Problem

2009-01-28 Thread cmoulliard
Are you sure that you do not have a mix of jar spring 2.5.4 and 2.5.6. See this interesting spring post about that (http://forum.springsource.org/showthread.php?t=62392) carlo c wrote: > > It seems to happen with spring version 2.5.6. > It doesn't occur on spring version 2.5.4' > > > carlo c

Re: Will onException handle exceptions thrown from 'when' clause?

2009-01-28 Thread S. Ali Tokmen
Hello Claus Thank you for these excellent news! S. Ali Tokmen savas-ali.tok...@bull.net Office: +33 4 76 29 76 19 GSM:+33 66 43 00 555 Bull, Architect of an Open World TM http://www.bull.com Claus Ibsen a écrit : On Wed, Jan 28, 2009 at 2:14 PM, Fush wrote: Claus, do you know if t

Re: Camel routes to JMS problem: one simple message sent many times (duplicated)

2009-01-28 Thread Matvey
Matvey wrote: > > My confuguration: I want updatesender bean to send one JMS message to > Updates queue every time the method sendUM() invokes. In a real life it > work a bit different... > > xmlns="http://activemq.apache.org/camel/schema/spring";> > org.apache.camel.examp

Re: Camel routes to JMS problem: one simple message sent many times (duplicated)

2009-01-28 Thread James Strachan
2009/1/28 Matvey : > > My confuguration: I want updatesender bean to send one JMS message to Updates > queue every time the method sendUM() invokes. In a real life it work a bit > different... how about something like this... http://camel.apache.org/pojo-producing.html public class Foo { @Endp

Issues with the Websphere MQ logical name

2009-01-28 Thread leehanu
Hi all, We have a camel configured with WebSphere MQ. We are using the File System Context. We generated the bindings file. Specified the binding file location and the Connection Factory Name. But the problem is if I use the logical MQ Queue name then camel is having trouble connecting to the Que

deadLetterChannel not catching servicemix-http provider connect exception

2009-01-28 Thread bwhite
Hi all, I have set up error handling using camel's dead letter channel in a few camel routes, but there is one particular scenario that is not working as I expect. This route is as follows: JMS consumer -> camel endpoint A -> HTTP Provider. If the target webservice that the HTTP Provider is con

Re: Camel Remote File Producer / Recipient List Password Issue

2009-01-28 Thread harinair
Anybody have idea on how I can fix this? Is there any problem if I provide the full URI in RemoteFileEndpoint? Hari Gangadharan harinair wrote: > > Claus and others: > > I think I encountered a bug in using Remote File Component (SFTP) with > recipientList > My route is similar to this: >

Re: Camel Remote File Producer / Recipient List Password Issue

2009-01-28 Thread Ramon Buckland
Hi Hari, Claus was able to identify that it is a bug > Bug spotted and fixed > https://issues.apache.org/activemq/browse/CAMEL-1296 > > Its fixed in 1.x and trunk. To use this fixed version, you will need to compile the camel 1.x branch. The following url details the location of the camel sourc

Re: Issues with the Websphere MQ logical name

2009-01-28 Thread Claus Ibsen
On Wed, Jan 28, 2009 at 8:47 PM, leehanu wrote: > > Hi all, > > We have a camel configured with WebSphere MQ. We are using the File System > Context. We generated the bindings file. Specified the binding file location > and the Connection Factory Name. But the problem is if I use the logical MQ >

Re: Camel Remote File Producer / Recipient List Password Issue

2009-01-28 Thread Claus Ibsen
Yeah its fixed in the 1.x branch and trunk as well. As a workaround you can: 1) Create the endpoint manually (without using the Camel xxxComponent) 2) Setting the endpointUri as a property Ad 2) Its kinda like setting the endpoint twice: from("ftp://foo?password=secret&endpointUri=ftp://foo?passw

Re: deadLetterChannel not catching servicemix-http provider connect exception

2009-01-28 Thread Claus Ibsen
On Wed, Jan 28, 2009 at 10:01 PM, bwhite wrote: > > Hi all, > > I have set up error handling using camel's dead letter channel in a few > camel routes, but there is one particular scenario that is not working as I > expect. > > This route is as follows: JMS consumer -> camel endpoint A -> HTTP Pro

Re: deadLetterChannel not catching servicemix-http provider connect exception

2009-01-28 Thread Claus Ibsen
On Thu, Jan 29, 2009 at 6:34 AM, Claus Ibsen wrote: > On Wed, Jan 28, 2009 at 10:01 PM, bwhite wrote: >> >> Hi all, >> >> I have set up error handling using camel's dead letter channel in a few >> camel routes, but there is one particular scenario that is not working as I >> expect. >> >> This ro