Re: Memory Leak

2012-06-20 Thread Jason Queen
Christian, Yes I will try setting it with Spring's org.springframework.jms.connection.JmsTransactionManager and the flag on the routes. We have only used WMQ up until recent, so im new to using AMQ. The WMQ components wouldnt start up without one defined until i configured it with a manager. I

Memory Leak

2012-06-20 Thread Jason Queen
We are running a Karaf 2.2.7 server with camel 2.8.4 routes that moves message from an ActiveMQ 5.6.0 standalone instance to a WebsphereMQ server and vice versa. After running for around 2 weeks Karaf starts throwing Out of Memory Error and has to be restarted. The routes are pretty simple and on

Re: JMS route changes the JMSMessageID

2012-04-25 Thread Jason Queen
Yeah I found some docs that point to wmq ignoring what you set and assign its own. The main reason I was trying to set it was for tracking purposes similar to this thread where you discuss keeping track of the jmsmessageid here: http://camel.465427.n5.nabble.com/keep-track-of-JMSMessageID-with-In

JMS route changes the JMSMessageID

2012-04-24 Thread Jason Queen
I have a camel route that moves a message from an ActiveMQ queue to a WebsphereMQ queue. In between the 2 endpoints I grab message and modify the body. I also grab the JMSMessageID and store it. After this I set the JMSMessageID to a different number and stick it on the Exchange. When the messag

Re: Websphere MQ setting targetClient=1

2010-03-11 Thread Jason Queen
Thanks for your help. Spring was what i was missing. Heres what I ended up doing just in case some else runs into this: MQQueueConnectionFactory cf = new MQQueueConnectionFactory(); JmsConfiguration jc = new JmsConfiguration(cf); cf.setHostName("server")

Re: Websphere MQ setting targetClient=1

2010-03-11 Thread Jason Queen
;t seem to be a solution in the post. Claus Ibsen-2 wrote: > > Hi > > Search this forum as I think IBM MQ have been debated before, and how > to get it working. > > > On Thu, Mar 11, 2010 at 12:17 AM, Jason Queen > wrote: >> >> With camel 1.6.1 I'm

Websphere MQ setting targetClient=1

2010-03-10 Thread Jason Queen
With camel 1.6.1 I'm trying to set the targetClient=1 for a queue connection. Here is the code im using to try to accomplish this but it doesnt work: MQQueueConnectionFactory cf = new MQQueueConnectionFactory(); JmsConfiguration jc = new JmsConfiguration(cf);

Re: FTP Component Network Failure Recovery Problem

2009-07-20 Thread Jason Queen
I switched my test over to use the SFTP component. After some setup pain I was able to confirm that the fix works. It behaves exactly like the FTP component. Excellent work! -- View this message in context: http://www.nabble.com/FTP-Component-Network-Failure-Recovery-Problem-tp24517828p245713

Re: Camel and IBM MQ Series

2009-07-17 Thread Jason Queen
I recently went through figuring out how to use MQ with camel 1.6. Below is how I did it. Hope it helps. MQQueueConnectionFactory cf = new MQQueueConnectionFactory(); JmsConfiguration jc = new JmsConfiguration(cf); cf.setHostName("server"); cf.

Re: FTP Component Network Failure Recovery Problem

2009-07-17 Thread Jason Queen
The fix worked. Now in my test case when the cable is unplugged every 20 secs. it tries to scan the folder fails and retries 3 times (default behavior) then gives up. Once the network connection is restored it reconnects and processes normally. One last question, will this also fix the sftp com

Re: FTP Component Network Failure Recovery Problem

2009-07-16 Thread Jason Queen
Attached is the log file set on TRACE. To make the logs easier to read I only enabled the route that is failing and set the delay to 2. Around time stamp 17:29:14 i unplugged the computer and at around 17:30:14 i plugged it back in. http://www.nabble.com/file/p24524617/camel.log camel.log

Re: FTP Component Network Failure Recovery Problem

2009-07-16 Thread Jason Queen
Ok, I tried removing the maximumReconnectAttempts=-1 option from the endpoint and still get the same results. I also tried making the routes as simple as possible (code below) and the same thing happens. Startup camel and let it swap a couple files a few times, kill the connection, wait a few se

FTP Component Network Failure Recovery Problem

2009-07-16 Thread Jason Queen
Hello, I've been testing with 2.0M2 and the Jul 14 SNAPSHOT. I setup a simple loop test using 2 routes where camel is running on my windows box. The first route takes files from a local folder and ftps them to a remote box. The second route pulling from the ftp server and putting back in the sa