Re: "preMove" option creates unwanted .camel directory

2009-12-22 Thread Serge Merzliakov
JIRA issue created https://issues.apache.org/activemq/browse/CAMEL-2309 Claus Ibsen-2 wrote: > > On Tue, Dec 22, 2009 at 10:53 AM, Serge Merzliakov > wrote: >> >> Hi, >>   Given the following Camel context (OS X 10.6, camel 2.1.0, activemq >> 5.3) >

"preMove" option creates unwanted .camel directory

2009-12-22 Thread Serge Merzliakov
Hi, Given the following Camel context (OS X 10.6, camel 2.1.0, activemq 5.3) to copy a text file to a JMS queue I noticed that the "preMove" attribute puts the file in: ./before/.camel/FILE-moved.TXT instead of what I expected: ./before/FILE-

Aggregator - message body not concatenated

2009-08-14 Thread Serge Merzliakov
Hello, Perhaps I have misunderstood what aggregation can do - ideally concatenate message bodies without using java code to concatenate messages together. My goal is to concatenate lots of messages into a single message e.g. message 1 body --> 'aaa' message 2 body --> 'aaa' which results in a

Re: Can a camel route be run as a batch (peridiocally) in ActiveMQ config

2009-06-26 Thread Serge Merzliakov
Thanks for all the good links. I will follow them up . Serge Claus Ibsen-2 wrote: > > On Fri, Jun 26, 2009 at 1:21 AM, Serge Merzliakov > wrote: >> >> Hello, >>   I have created a simple camel route which copies messages from one JMS >> queue to another. When I

Can a camel route be run as a batch (peridiocally) in ActiveMQ config

2009-06-25 Thread Serge Merzliakov
Hello, I have created a simple camel route which copies messages from one JMS queue to another. When I insert this into my activemq.xml config file it works fine. Is there a way of running t

Best Approach/Example for resubmission to JMS queue from a retry queue

2009-06-25 Thread Serge Merzliakov
Hello, I would like some advice on the best way to use Camel (1.5), Spring (2.5.6), XML and JMS (activeMQ 5.2) to RELIABLY resubmit messages from a retry queue back to original destination queue: 1. listen for messages arriving on from a 'retry' queue 2. If message on 'retry' q

A working camel spring config - JMS copy

2009-06-23 Thread Serge Merzliakov
Claus Ibsen-2 wrote: > > Hi > You need the around the route tag. > > > ... insert the camel route here > > > > > On Tue, Jun 23, 2009 at 11:40 AM, Serge Merzliakov > wrote: > Claus, >Embedding the route inside camelContext worked - tha

A Complete Camel sample spring config - JMS queue copy

2009-06-23 Thread Serge Merzliakov
t; > > ... insert the camel route here > > > > > On Tue, Jun 23, 2009 at 11:40 AM, Serge Merzliakov > wrote: > >> >> Sorry about that. I made sure to use camel 1.5 version of xsd in jar file >> here it is: >> >> http://www.springfram

camel xsd path - a clarification

2009-06-23 Thread Serge Merzliakov
Also, note that schemaLocation defined schema location at camel-spring.xsd and not full namespace. Because Im using classpath app context in spring this seems to be the thing to do. Serge Serge Merzliakov wrote: > > Sorry about that. I made sure to use camel 1.5 version of xsd in ja

Simple Camel example top copy messages from one JMS queue to another

2009-06-23 Thread Serge Merzliakov
you might have picked the wrong > one. > > > On Tue, Jun 23, 2009 at 9:58 AM, Serge Merzliakov > wrote: > >> >> I have tried to get the samples to work without success. Using: >> * Camel 1.5 jars >> * Activemq 5.2 >> * Spring 2

Simple Camel example top copy messages from one JMS queue to another

2009-06-23 Thread Serge Merzliakov
I have tried to get the samples to work without success. Using: * Camel 1.5 jars * Activemq 5.2 * Spring 2.5.6 I want to write a Spring xml based file to copy messages from one jms queue to another - as a proof of concept. Here is my spring config file: