Re: recipientList + parallelProcessing + aggregationStrategy

2010-07-28 Thread Marco Crivellaro
Looking forward to give it a try! -- View this message in context: http://camel.465427.n5.nabble.com/recipientList-parallelProcessing-aggregationStrategy-tp2255971p2256665.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: recipientList + parallelProcessing + aggregationStrategy

2010-07-28 Thread Claus Ibsen
On Wed, Jul 28, 2010 at 9:32 AM, Marco Crivellaro wrote: > > Looking forward to give it a try! > -- Willem have already implemented it and committed it to trunk. So you can try out a SNAPSHOT version of you like http://camel.apache.org/download.html > View this message in context: > http://cam

FTPS execProt P failing.

2010-07-28 Thread Andreas Asmuss
Hi I'm trying to connect to a FileZilla server with FTPS (Camel 2.4). This works fine as long as I don't try to encrypt the data channel with PROT P. When I try to do this either serverside or clientside or both the following happens: 2010-07-28 11:07:21,682 DEBUG [Camel Thread 0 - ftps://loca

Re: File component/language: preMove only

2010-07-28 Thread Claus Ibsen
I created a ticket to track this https://issues.apache.org/activemq/browse/CAMEL-3003 And you can now use preMove together with noop|delete. On Tue, Jul 27, 2010 at 2:50 PM, Claus Ibsen wrote: > Hi > > What if preMove is a bit special. So you can do > preMove=moveMe&noop=true. Which then tells

Re: Route Definition Autostart and JMX issue

2010-07-28 Thread Willem Jiang
kumaap wrote: Apache Camel version 2.4 Does the Management Strategy (JMX) only start when the camel context is start? Once a Camel context is started all route definition loaded seem to ignore autoStartup="false". Is this correct behavior? Sorry, I didn't get you point. How can a Camel cont

JMS Transactions not handling SecurityException?

2010-07-28 Thread Holger
Hi, I have the following (very basic) route, which should be transactional (i.e., if a message is consumed from foo it must be placed in bar2!): from("activemq:queue:foo") .transacted() .to("activemq:queue:bar2"); Here, foo is accessible by the us

Re: Route Definition Autostart and JMX issue

2010-07-28 Thread kumaap
Ok more Explanation on how im adding routes to the camel context, The camel Context is already started and im adding route definitions like below. RouteDefinition routeDefinition = (RouteDefinition) unmarshaller.unmarshal(stringReader); ArrayList arrayList = new ArrayList(); arrayList.add(routeD

Re: Route Definition Autostart and JMX issue

2010-07-28 Thread Claus Ibsen
On Tue, Jul 27, 2010 at 5:17 PM, kumaap wrote: > > Apache Camel version 2.4 > > Does the Management Strategy (JMX) only start when the camel context is > start? > > Once a Camel context is started all route definition loaded seem to ignore > autoStartup="false". Is this correct behavior? > -- Aut

Re: Route Definition Autostart and JMX issue

2010-07-28 Thread Claus Ibsen
Hi Ah its the autoStartup in the route XML. There is also one on . Yeah this option may not be triggered when loading the route from XML as the logic is a bit different, then regular. http://camel.apache.org/schema/spring"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schema

Auto Start up issue when adding RouteDefintions

2010-07-28 Thread kumaap
Apache Camel version 2.4 The camel Context is already started and im adding route definitions like below. RouteDefinition routeDefinition = (RouteDefinition) unmarshaller.unmarshal(stringReader); ArrayList arrayList = new ArrayList(); arrayList.add(routeDefinition); camelConte

Add some HTTP header to HttpProduce

2010-07-28 Thread Richard Slide
Hello all, I need to add the following header to my http request: "myaddress" "from" "to" "transaction-set" and change the http protocol version from http 1.1 to http .1.0 My route builder looks like this from(senderUri).setHeader(Exchange.HTTP_METHOD, constant(org.apache.camel.component.ht

Re: Add some HTTP header to HttpProduce

2010-07-28 Thread Claus Ibsen
You can just use the setHeader to see those headers .setHeader("myaddress", constant("Some address")) .setHeader("from", constant("Someone)) On Wed, Jul 28, 2010 at 3:49 PM, Richard Slide wrote: > Hello all, > I need to add the following header to my http request: > > "myaddress" > "from" > "to

Re: Add some HTTP header to HttpProduce

2010-07-28 Thread Willem Jiang
Richard Slide wrote: Hello all, I need to add the following header to my http request: "myaddress" "from" "to" "transaction-set" You can put these header into the message header and HttpProducer will take care of them. and change the http protocol version from http 1.1 to http .1.0 I don't

Re: Add some HTTP header to HttpProduce

2010-07-28 Thread Filippo Balicchia
ok thanks, but is possibile to put some costum headers ? for example "transaction-set" ? cheers 2010/7/28 Willem Jiang : > Richard Slide wrote: >> >> Hello all, >> I need to add the following header to my http request: >> >> "myaddress" >> "from" >> "to" >> "transaction-set" >> > You can put

Re: Auto Start up issue when adding RouteDefintions

2010-07-28 Thread kumaap
As you can see the route supplied has autostart = false . Yet the test receives a message. I should not receive a message until the route is started. -- View this message in context: http://camel.465427.n5.nabble.com/Auto-Start-up-issue-when-adding-RouteDefintions-tp2256671p2256690.html Sent fr

load a route into ActiveMQ via java

2010-07-28 Thread Mark
I am working to build a router in ActiveMQ. From what I have read I should be able to package my class in a jar file, copy the jar file into $ACTIVEMQ_HOME/lib and then restart. Here is my simple router code: public class MyRouter extends RouteBuilder { public MyRouter() throws Exception {

Re: load a route into ActiveMQ via java

2010-07-28 Thread Claus Ibsen
On Wed, Jul 28, 2010 at 7:51 PM, Mark wrote: > I am working to build a router in ActiveMQ.  From what I have read I should > be able to package my class in a jar file, copy the jar file into > $ACTIVEMQ_HOME/lib and then restart.  Here is my simple router code: > > public class MyRouter extends Ro

Re: load a route into ActiveMQ via java

2010-07-28 Thread Mark
Thanks, I made that change an ActiveMQ starts up. The route does not show up in the camel admin page, so I am not sure if its being loaded properly. Plus when I send a message to "whatever", the listener on "junk" does not receive the message. The listener on "whatever" does receive the message

HTTP Component Control to HttpClient

2010-07-28 Thread Filippo Balicchia
Hello all, after some test i'd like to know if it possibile to have from camel a full control of HttpClient request. For example if i have http end-point is possible to get the request end add some header like ('Content-Type', 'multipart/form-data'); thanks --Filippo

Setting url {params} in REST call with Camel

2010-07-28 Thread LaSalle, Craig
Hi - I'm using the "restlet" component to make a call to an external REST api. The route endpoint looks like: to("restlet:http://localhost:8080/pscore/datajobs/{jobid}/patientaccount ?restletMethod=post"). To substitute the "jobid" at runtime, I've set the "jobid" in the message hea

Re: Auto Start up issue when adding RouteDefintions

2010-07-28 Thread Claus Ibsen
Hi I have created a ticket to track this https://issues.apache.org/activemq/browse/CAMEL-3007 On Wed, Jul 28, 2010 at 5:32 PM, kumaap wrote: > > As you can see the route supplied has autostart = false . > > Yet the test receives a message. I should not receive a message until the > route is star

Re: Problem 2 when compiling sample from Camel package

2010-07-28 Thread davsclaus
You need to add some spring .jars. Download spring 3.0.3 and use the jars it contains. -- View this message in context: http://camel.465427.n5.nabble.com/Problem-2-when-compiling-sample-from-Camel-package-tp2256111p2256703.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Pub Sub and Dynamic Routes

2010-07-28 Thread davsclaus
See this wiki page http://camel.apache.org/discussion-forums.html You need to be a subscriber on the mailinglist to have the mails forwarded. -- View this message in context: http://camel.465427.n5.nabble.com/Pub-Sub-and-Dynamic-Routes-tp2256699p2256704.html Sent from the Camel - Users mailing