Re: camel-google-mail NPE null configuration

2016-10-11 Thread Jon Anstey
Fixed up for camel-google-mail here https://issues.apache.org/jira/browse/CAMEL-10381 I'll check the other components later but its likely same case. On Tue, Oct 11, 2016 at 2:16 PM, Claus Ibsen wrote: > Hi > > Yes its a bug you are welcome to report a JIRA ticket >

Re: how to debug child instance remotely on child instance

2015-12-18 Thread Jon Anstey
Try using admin:change-opts to add debug java opts to the child. On Dec 18, 2015 12:27 PM, "nono" wrote: > > sorry here is not correct place to post this question > but i did not get reply from jboss forum, i assume maybe camel user is also > using > camel on jboss fuse.

Re: Very long processing of the Consumer in the file component…

2015-12-18 Thread Jon Anstey
Hmm not sure what is up here. Haven't seen this myself :-) Maybe try taking a few thread dumps during this 3 second period to see if anything is holding up the processing? On Dec 17, 2015 5:09 AM, "Victor NOËL" wrote: > Also, to complete, there is this log just before

Re: camel threshold

2013-08-12 Thread Jon Anstey
Routes keep going until they are paused or stopped. Your best bet is probably a custom RoutePolicy http://camel.apache.org/routepolicy.html that does the custom throttling (pausing or stopping a route i guess) after X exchanges. On Mon, Aug 12, 2013 at 7:53 AM, kiranreddykasa

fw: hello

2013-07-21 Thread Jon Anstey
http://personeelsservice-kwb.nl/tcxfv/hniyxuwxstblt janstey 7/21/2013 5:52:25 PM

Re: fw: hello

2013-07-21 Thread Jon Anstey
Please don't click this link. Some hacker in Belarus hijacked my account today and sent this out. Cheers, Jon On 2013-07-21 2:23 PM, Jon Anstey jans...@gmail.com wrote: http://personeelsservice-kwb.nl/tcxfv/hniyxuwxstblt janstey 7/21/2013 5:52:25 PM

Re: How to replace hard coded URIs?

2013-05-07 Thread Jon Anstey
Take a look at http://camel.apache.org/properties.html to see how to use a property for a URI. On Mon, May 6, 2013 at 11:00 AM, Al Ferguson alfer...@hotmail.com wrote: Hi, I defined the following route that works very well. However, I have to read the URIs of the 3 services from ZooKeeper

Re: How to replace hard coded URIs?

2013-05-07 Thread Jon Anstey
Ah you wanted dynamic URIs - I thought you meant you wanted the initial route configured at startup (i.e. once). enrich() doesn't support dynamic URIs ATM. See https://issues.apache.org/jira/browse/CAMEL-4596 for more info and work around. Basically you have to create a bean that then uses a

Re: How do we have the log: component log to a file?

2013-05-07 Thread Jon Anstey
The log component utilizes whatever underlying logging mechanism you are using, like log4j or logback, etc. For log4j just google something like org.apache.log4j.RollingFileAppender and you'll find config options to add to log4j.properties. On Tue, May 7, 2013 at 5:35 PM, Chris Wolf

Re: Error when start camel-jackson

2013-05-07 Thread Jon Anstey
What version of Karaf are you using? I just tried Karaf 2.3.1, ran the following and all was well features:chooseurl camel 2.11.0 features:install camel-jackson On Tue, May 7, 2013 at 10:19 PM, skysw...@gmail.com skysw...@gmail.comwrote: Hi When I want to start camel-jackson 2.11.0 in

Re: DSL trim on body of type string

2012-08-01 Thread Jon Anstey
Try this: from(...).transform().simple(${in.body.trim()})... On Wed, Aug 1, 2012 at 8:47 AM, cgsk karthik2...@gmail.com wrote: Hi There, I need to do trim() on the body of type String in the DSL. Is there any staright way out in camel by using transform/convertor/regex? I dont prefer

Re: Scala DSL - How do I give a route an id?

2012-07-30 Thread Jon Anstey
Did you try using routeId? from(direct:start) .routeId(foo) ... On Mon, Jul 30, 2012 at 1:59 PM, Lance Walton lancewal...@mac.com wrote: Hi. I'm using the Scala DSL to add routes to the CamelContext. However, I also want to be able to remove some of these routes from the

Re: Scala DSL - How do I give a route an id?

2012-07-30 Thread Jon Anstey
to do but with the Scala DSL. Regards, Lance On 30 Jul 2012, at 17:46, Jon Anstey jans...@gmail.com wrote: Did you try using routeId? from(direct:start) .routeId(foo) ... On Mon, Jul 30, 2012 at 1:59 PM, Lance Walton lancewal...@mac.com wrote: Hi. I'm

Re: Create a new Camel component via Scala-Component-Archetype?

2012-05-13 Thread Jon Anstey
On Sun, May 13, 2012 at 8:04 PM, megachucky megachu...@googlemail.comwrote: I think about writing a new Camel component (e.g. for Salesforce or Neo4j). I also think about using Scala for the new component. However, there is only a Java-Component-Archetype at the moment. Is this for any

Re: How to bind an object in the registry camel?

2012-05-04 Thread Jon Anstey
I use camel-bindy in a Blueprint file here: https://github.com/janstey/rider-auto-osgi/blob/master/rider-auto-normalizer/src/main/resources/OSGI-INF/blueprint/camel-context.xmlMaybe that will help. You don't to explicitly add that to the registry. Of course, for camel-bindy to be available to the

Re: Help with RUNNING simple camel example with spring dsl without using maven

2012-05-04 Thread Jon Anstey
You can generate your own Spring-based project with the camel-archetype-spring archetype: mvn archetype:generate -DarchetypeGroupId=orache.camel.archetypes -DarchetypeArtifactId=camel-archetype-spring -DarchetypeVersion=2.9.2 -DgroupId=myGroupId -DartifactId=myArtifactId You can run that with

Re: org.apache.camel.spring.Main class not found exception

2011-11-27 Thread Jon Anstey
Do you have a Maven dependency for camel-spring in your pom? On Sun, Nov 27, 2011 at 12:20 AM, newbiee m_ess...@hotmail.com wrote: Hi I am trying to use database (MySQL) in CAMEL (v. 2.6). I have defined my SQL using Spring DSL. When I run mvn -e camel:run I get the following error:

Re: Could not resolve a binding for null

2011-11-16 Thread Jon Anstey
Looks like you are using Spring DM (not Aries Blueprint) for dependency injection so you'll need to add in CXF import elements like the ones shown here: http://camelinaction.googlecode.com/svn/trunk/chapter7/cxf/code_first/src/main/resources/META-INF/spring/camel-cxf.xml Cheers, Jon On Wed, Nov

Re: http://repository.apache.org does NOT respond

2011-11-02 Thread Jon Anstey
Try again? There are some bits of Apache infra that were/are down this morning. On Wed, Nov 2, 2011 at 8:28 AM, bvahdat babak.vah...@swissonline.ch wrote: Hi, while trying to do mvn install -Pfastinstall on the trunk I'm blocked as it hangs on ... ... ... Downloading:

Re: recipientList inside SEDA route with CXF

2011-09-29 Thread Jon Anstey
FYI created https://issues.apache.org/jira/browse/CAMEL-4503 for the recipient list bug and Achim is trying out another approach to workaround this issue. On Thu, Sep 29, 2011 at 11:46 AM, Achim Nierbeck bcanh...@googlemail.comwrote: I did take a look at the sources and I think I found the

Re: Configuring multicasts broker

2011-09-20 Thread Jon Anstey
You need to pass a discovery broker URI to the ConnectionFactory: http://activemq.apache.org/discovery-transport-reference.html On Fri, Sep 16, 2011 at 9:06 AM, Muhammad Ichsan ich...@gmail.com wrote: I set up many ActiveMQ brokers using this: transportConnector uri=tcp://localhost:0

Re: how to run and use the web-module?

2011-08-26 Thread Jon Anstey
Some info on the web console is here: http://camel.apache.org/web-console.html On Fri, Aug 26, 2011 at 7:41 AM, xiangqiuzhao xiangqiuz...@gmail.comwrote: i have see the camel source with camel-web-standalone components, but can't find the document about it on apache. how to monitor and control

Re: Cipher type definable?

2011-08-25 Thread Jon Anstey
Don't think there is an option for that. You'll have to manually configure a JSch instance with the ciphers you want. Cheers, Jon On Thu, Aug 25, 2011 at 10:58 AM, laxad dax2...@rogers.com wrote: I am using SFTP component and my new requirement is to specify the type of cipher going to be

Re: Cipher type definable?

2011-08-25 Thread Jon Anstey
Yeah, there is no option for this so I've created https://issues.apache.org/jira/browse/CAMEL-4382 to track this enhancement. On Thu, Aug 25, 2011 at 2:16 PM, Jon Anstey jans...@gmail.com wrote: Don't think there is an option for that. You'll have to manually configure a JSch instance

Re: Cipher type definable?

2011-08-25 Thread Jon Anstey
FYI I've adding this as the ciphers URI option for the SFTP component. Some documentation is available here https://cwiki.apache.org/confluence/display/CAMEL/FTP2 It will be available in Camel 2.9. On Thu, Aug 25, 2011 at 2:19 PM, Jon Anstey jans...@gmail.com wrote: Yeah, there is no option

Re: Maven dependencies for camel-ftp

2011-08-23 Thread Jon Anstey
What was the error message and what Camel version are you using? camel-ftp shouldn't require camel-spring. On Tue, Aug 23, 2011 at 12:45 PM, Tristan23 tristanlst...@gmail.com wrote: I made a simple example using Camels FTP component. For that I added artifactIdcamel-ftp/artifactId to my

Re: Strange behavior of Camel-Bindy and windows

2011-08-05 Thread Jon Anstey
Hi Achim, This could be a Windows only problem occurring... but you could try putting a convertBodyTo type=java.lang.String/ before the unmarshal to see if loading the file content into memory will workaround this. Cheers, Jon On Fri, Aug 5, 2011 at 12:11 PM, Achim Nierbeck

Re: How print header without square brackets

2011-08-04 Thread Jon Anstey
The brackets are there I'm guessing because your file_header header is some sort of Java collection? You can most likely do an inline trim or substring using another scripting language instead of simple - Groovy for example http://camel.apache.org/groovy.html. But it would be just as easy to

Re: camel-example-cxf-proxy need help

2011-08-04 Thread Jon Anstey
Some more context from the logs would help like maybe the full stack trace so we can see which bit is failing. Cheers, Jon On Thu, Aug 4, 2011 at 4:22 PM, chandraprabha chandrapra...@gmail.comwrote: Hi All, Please help . I am using the camel-example-cxf-proxy profile with fuse camel . I

Re: To set client authentication false in SSL communication using Camel-netty 2.6

2011-08-03 Thread Jon Anstey
Good idea. I've created https://issues.apache.org/jira/browse/CAMEL-4303 to track this. On Wed, Aug 3, 2011 at 3:59 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Mon, Aug 1, 2011 at 6:02 PM, Jon Anstey jans...@gmail.com wrote: Most likely this was just the most common configuration used

Re: Can't use jersey library classes within processor

2011-08-02 Thread Jon Anstey
Make sure you are using m2eclipse as well. Like Willem said, adding a dependency to your pom.xml file will get the lib added to the project classpath. A good m2eclipse reference is here http://www.sonatype.com/books/m2eclipse-book/reference/ Cheers, Jon On Tue, Aug 2, 2011 at 4:32 AM, Willem

Re: To set client authentication false in SSL communication using Camel-netty 2.6

2011-08-01 Thread Jon Anstey
Most likely this was just the most common configuration used. Setting the auth required to false is possible though. To do this you'll need to set the sslHandler property on the producer URI. For example: ...to(netty:tcp://localhost:12345?sslHandler=#myHandler); You can see how the default SSL

Re: maxConcurrentConsumers and idling

2011-08-01 Thread Jon Anstey
That looks like a new property in Spring 3... we should add that option to camel-jms but for now you should be able to make your own custom JmsConfiguration class (extending the Camel JmsConfiguration one) and override configureMessageListenerContainer to set up your idleConsumerLimit value. You

Re: maxConcurrentConsumers and idling

2011-08-01 Thread Jon Anstey
FYI idleConsumerLimit will be configurable in the next release of Camel (2.9) see https://issues.apache.org/jira/browse/CAMEL-4290 On Mon, Aug 1, 2011 at 2:41 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Tommy Fell free to create a JIRA ticket as I there may be new/missing options from

Re: Is ActiveMQComponent automatically pooled?

2011-07-20 Thread Jon Anstey
Looks like org.apache.activemq.pool.PooledConnectionFactory is used by default if you don't override the connectionFactory property. Cheers, Jon On Wed, Jul 20, 2011 at 12:24 PM, Brendan Long bren...@realgo.com wrote: The ActiveMQ section of the help isn't clear on this. In one of the

Re: XML to XSLT in camel using Queue's

2011-07-04 Thread Jon Anstey
If you want to send an element to a queue, you can just use xpath something like from(file:/path/to/my/files).setBody().xpath(/foo/bar).to(jms:queue:myQueue); that will take the bar element and send that to myQueue. For information about using Camel in a blueprint container see

Re: ProducerTemplate is not started

2011-07-04 Thread Jon Anstey
What version of Camel are you using? Wondering if you are using a SNAPSHOT such that the code may have changed since Friday :) On Mon, Jul 4, 2011 at 8:43 AM, ctapobep stanislav.bashkirt...@gmail.comwrote: Dunno why, but from time to time my integration tests fail with:

Re: why i building camel2.7.2 use maven install error?

2011-06-30 Thread Jon Anstey
FYI I can build Camel trunk fine with IBM JDK 1.6.0 on Linux. So least that platform works :) janstey@duffman:/x1/asf/camel/trunk$ mvn --version Apache Maven 3.0.2 (r1056850; 2011-01-08 21:28:10-0330) Java version: 1.6.0, vendor: IBM Corporation Java home: /opt/ibm-java-i386-60/jre Default

Re: why i building camel2.7.2 use maven install error?

2011-06-30 Thread Jon Anstey
Yeah, I built with mvn clean install -Dtest= Trying now without the -Dtest= On Thu, Jun 30, 2011 at 11:50 AM, Daniel Kulp dk...@apache.org wrote: On Thursday, June 30, 2011 11:29:00 AM Jon Anstey wrote: FYI I can build Camel trunk fine with IBM JDK 1.6.0 on Linux. So least that platform

Re: example app to embed camel-web-console

2011-06-27 Thread Jon Anstey
Now it depends on what jar you are talking about but in general since a WAR classloader is flat, you can't have two versions of the same class... so you will either have to find some way of using the same version of this jar in your application as Camel uses or separate this into 2 WARs. On Fri,

Re: Custom exclusiveReadLockStrategy in Servicemix + Camel

2011-06-27 Thread Jon Anstey
but it doesn't work either. Any other ideas? On Thu, Jun 23, 2011 at 4:28 PM, Jon Anstey jans...@gmail.com wrote: Are you using the same exact version of Camel in your pom.xml and SMX install? On Thu, Jun 23, 2011 at 2:15 PM, Laurentiu Trica laurentiu.tr...@moredevs.ro wrote: Hi

Re: Custom exclusiveReadLockStrategy in Servicemix + Camel

2011-06-23 Thread Jon Anstey
Are you using the same exact version of Camel in your pom.xml and SMX install? On Thu, Jun 23, 2011 at 2:15 PM, Laurentiu Trica laurentiu.tr...@moredevs.ro wrote: Hi everyone, I have a problem using the exclusiveReadLockStrategy for Ftp2 component. I implemented the

Re: example app to embed camel-web-console

2011-06-23 Thread Jon Anstey
Yeah, what Taariq suggested should work. Keep in mind that when you specify camel-web as a dependency, the maven-jetty-plugin will overlay the camel webconsole web app in your own web app and run it as one web app. You would probably have to have multiple executions of the maven-jetty-plugin in

Re: example app to embed camel-web-console

2011-06-23 Thread Jon Anstey
Instead of maven-jetty-plugin use the newer jetty-maven-plugin which does overlay properly plugin groupIdorg.mortbay.jetty/groupId artifactIdjetty-maven-plugin/artifactId version7.2.2.v20101205/version /plugin since this is an overlay (2 WARs merged into 1),

Re: Shutting down camel from a test!

2011-03-11 Thread Jon Anstey
If you just want to start a simple Camel app and then shutdown, there is no requirement to use a test case - you can just use a standard main method like in the jms-file example:

Re: Bridging from JMS to Websphere

2011-03-11 Thread Jon Anstey
FYI when I was successfully using that targetClient option mentioned in the wiki, it was connecting to WMQ with the new OSGi client libs (ex com.ibm.mq.osgi.directip_7.0.1.1.jar, com.ibm.msg.client.osgi*_7.0.1.1.jar). Not sure if that makes any different here. Cheers, Jon On Fri, Mar 11, 2011 at

Re: Dynamic URI in Java DSL

2011-03-11 Thread Jon Anstey
From the compoment page http://camel.apache.org/freemarker.html you can use the CamelFreemarkerResourceUri header for this: from(direct:in). setHeader(CamelFreemarkerResourceUri).constant(path/to/my/template.ftl). to(freemarker:dummy); Just use a simple expression instead of constant.

Re: IBM Websphere MQ -- Camel routes

2011-02-01 Thread Jon Anstey
targetClient is a WMQ option so you need to set that on the JMS destination name, not the Camel endpoint URI: ... .setHeader(CamelJmsDestinationName, constant(queue:///MY_QUEUE?targetClient=1)) .to(ibmmq:queue:MY_QUEUE?useMessageIDAsCorrelationID=true); On Tue, Feb 1, 2011 at 11:35 AM, Claus

Re: example using produce annoation with ref

2010-08-18 Thread Jon Anstey
There could be an example in the unit tests of the camel-spring module - you may want to check there. You should be able to define an endpoint in the Spring XML file like camelContext id=camel xmlns=http://camel.apache.org/schema/spring; endpoint id=foo uri=activemq:queue:foo/ ...

Re: Is Camel working with Websphere MQ/MQseries as well?

2010-06-26 Thread Jon Anstey
For WMQ another user posted some notes here: http://camel.465427.n5.nabble.com/Camel-and-IBM-MQ-Series-td476223.html#a476223 http://camel.465427.n5.nabble.com/Camel-and-IBM-MQ-Series-td476223.html#a476223I would say in general most JMS brokers should be supported. I've seen a few folks over the

Re: Wiki web page : camel aggregator not up to date for camel 2.x

2010-06-07 Thread Jon Anstey
Were you looking at http://camel.apache.org/aggregator.html or http://camel.apache.org/aggregator2.html? aggregator2.html has the most up to date config for Camel 2.3 and greater versions. On Mon, Jun 7, 2010 at 9:34 AM, Charles Moulliard cmoulli...@gmail.comwrote: Hi, I think that the wiki

Re: How Do We Specify Operation To Choose In Camel CXf

2010-06-01 Thread Jon Anstey
You just have to set the operationName header before invoking the CXF endpoint. Something like this if you want to do this within a route: ... setHeader headerName=operationName constantmyOperation/constant /setHeader to uri=cxf:bean:myCXFEndpointBeanWith2Operations/ ...

Re: webservice to transform/enrich content

2010-05-26 Thread Jon Anstey
Try the following as the CXF endpoint URI cxf:// http://192.168.5.1:9763/services/myservice?wsdlURL=/services/myservice%3Fwsdl On Wed, May 26, 2010 at 2:04 PM, Francois Lefoll francois.lef...@racinegroup.com wrote: Hi, I got a remote webservice and I'm trying to use it to transform/enrich

Re: routingSlip and async destinations

2010-05-11 Thread Jon Anstey
In RoutingSlipCreator maybe add a slip like jms:foo?exchangePattern=InOut,jms:bar?exchangePattern=InOut instead of just the plain endpoint URIs. On Tue, May 11, 2010 at 7:12 PM, Scott Parkerson scott.parker...@gmail.comwrote: Camel riders, I've got a route that makes use of the Routing Slip

Re: routingSlip and async destinations

2010-05-11 Thread Jon Anstey
Of course, in your case use activemq:foo not jms:foo :) On Tue, May 11, 2010 at 8:51 PM, Jon Anstey jans...@gmail.com wrote: In RoutingSlipCreator maybe add a slip like jms:foo?exchangePattern=InOut,jms:bar?exchangePattern=InOut instead of just the plain endpoint URIs. On Tue, May 11, 2010

Re: How does Camel work with ActiveMQ ?

2010-01-26 Thread Jon Anstey
Here is some AMQ documentation about that http://activemq.apache.org/enterprise-integration-patterns.html On Tue, Jan 26, 2010 at 12:57 PM, Claus Ibsen claus.ib...@gmail.com wrote: On Tue, Jan 26, 2010 at 5:21 PM, BenXS bxsto...@yahoo.co.uk wrote: Hi Ashwin, thank you for response. But

Re: Publish source jar files to maven repository

2010-01-06 Thread Jon Anstey
I set up Hudson to deploy the source jars a while ago but there was some problem... the issue is tracked here https://issues.apache.org/jira/browse/INFRA-2352 Hopefully we can get a resolution to this soon! On Wed, Jan 6, 2010 at 9:10 AM, Willem Jiang willem.ji...@gmail.com wrote: Hi We

Re: The latest camel java archetype (2.1.0) is not working correctly

2009-12-23 Thread Jon Anstey
Darn! Looks like a change I made to support Maven 3 broke Maven 2. I've put a fix on trunk so the artifact/group substitution will work for next time. On Wed, Dec 23, 2009 at 2:59 PM, Ryadh Amar magnetic.gan...@gmail.comwrote: Hello Community, When I run the following mvn archetype:generate

Re: Help to understand xpath expression in camel routebuilder

2009-12-16 Thread Jon Anstey
Have you created a mapping file for your custom class? You need to provide JiBX with a mapping file so it knows how to do the marshalling. In the article, they've defined one for their classes in InsuranceSMDZone/jibx/InsuranceMapping.xml On Wed, Dec 16, 2009 at 1:43 PM, Kenneth H

Re: Help to understand xpath expression in camel routebuilder

2009-12-15 Thread Jon Anstey
On Tue, Dec 15, 2009 at 9:43 AM, Kenneth H phecda...@gmail.com wrote: Hi Jon, Your answer definitely helped. I have a couple of more questions though: 1. Where can I read about the .namespace() function syntax? I still don't get why ins is used in both functions. I tried w3schools but

Re: Help to understand xpath expression in camel routebuilder

2009-12-15 Thread Jon Anstey
On Tue, Dec 15, 2009 at 11:26 AM, Kenneth H phecda...@gmail.com wrote: 1. Where can I read about the .namespace() function syntax? I still don't get why ins is used in both functions. I tried w3schools but didn't find it. Did you find this page?

Re: Maven problem

2009-12-15 Thread Jon Anstey
Hmm... the pom.xml file looks fine from the actual Apache snapshot repo https://repository.apache.org/content/repositories/snapshots/org/apache/camel/camel-spring-integration/2.1-SNAPSHOT/camel-spring-integration-2.1-SNAPSHOT.pom I'm assuming cde.foobar.com is an internal URL for you? :) Your

Re: Maven problem

2009-12-15 Thread Jon Anstey
Also maybe try deleting your local cache of that file. Like delete the following: c:\.m2\org\apache\camel\camel-spring-integration On Tue, Dec 15, 2009 at 12:36 PM, Jon Anstey jans...@gmail.com wrote: Hmm... the pom.xml file looks fine from the actual Apache snapshot repo https

Re: Help to understand xpath expression in camel routebuilder

2009-12-15 Thread Jon Anstey
On Tue, Dec 15, 2009 at 1:33 PM, Kenneth H phecda...@gmail.com wrote: On Tue, Dec 15, 2009 at 11:26 AM, Kenneth H phecda...@gmail.com wrote: 1. Where can I read about the .namespace() function syntax? I still don't get why ins is used in both functions. I tried w3schools but didn't

Re: Help to understand xpath expression in camel routebuilder

2009-12-15 Thread Jon Anstey
On Tue, Dec 15, 2009 at 1:33 PM, Kenneth H phecda...@gmail.com wrote: On Tue, Dec 15, 2009 at 11:26 AM, Kenneth H phecda...@gmail.com wrote: 1. Where can I read about the .namespace() function syntax? I still don't get why ins is used in both functions. I tried w3schools but didn't

Re: Help to understand xpath expression in camel routebuilder

2009-12-14 Thread Jon Anstey
The xpath expression is going to be evaluated against the incoming message body. So, if we have a message like: ?xml version=1.0 encoding=UTF-8? TravelInsuranceRequest xmlns=http://dzone.com/insurance; ... /TravelInsuranceRequest the first when clause will evaluate to true since the xpath

Re: start/stop routes programmatically

2009-12-14 Thread Jon Anstey
You can set custom ids for each route like this: from(activemq:queue1).id(InboundRoute).to(activemq:queue2); from(activemq:queue2).id(ProcessingRoute).to(activemq:queue3); in the Spring DSL you can just use standard id attributes like: ... route id=InboundRoute ... On Mon, Dec 14, 2009 at 9:45

Re: start/stop routes programmatically

2009-12-14 Thread Jon Anstey
(ProcessingRoute).to(activemq:queue3); Willem Jon Anstey wrote: You can set custom ids for each route like this: from(activemq:queue1).id(InboundRoute).to(activemq:queue2); from(activemq:queue2).id(ProcessingRoute).to(activemq:queue3); in the Spring DSL you can just use standard id

Re: How to break from routing slip in camel on exception?

2009-12-01 Thread Jon Anstey
Just took a look into this and found that setting the Exception on the Exchange doesn't really break you out of the routing slip as you want. I'm gonna fix that up on the trunk. But, throwing an Exception from a recipient does stop the routing slip. See this test case for an example

Re: Are sources not published for snapshot builds by design?

2009-11-27 Thread Jon Anstey
: https://issues.apache.org/jira/browse/INFRA-2352 On Fri, Nov 27, 2009 at 3:13 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Wed, Nov 25, 2009 at 1:53 PM, Jon Anstey jans...@gmail.com wrote: So I enabled javadoc too yesterday, which does take a long time to generate... The build should now

Re: Are sources not published for snapshot builds by design?

2009-11-25 Thread Jon Anstey
So I enabled javadoc too yesterday, which does take a long time to generate... The build should now only be deploying source jars. On Tue, Nov 24, 2009 at 9:19 PM, Jon Anstey jans...@gmail.com wrote: Oh, and it *shouldn't* add too much to the build time... famous last words ;) On Tue, Nov

Re: Are sources not published for snapshot builds by design?

2009-11-24 Thread Jon Anstey
Hey guys, I just updated Hudson to deploy source jars and kicked off a new build. Lemme know if it doesn't work. On Tue, Nov 24, 2009 at 4:40 PM, Claus Ibsen claus.ib...@gmail.com wrote: On Tue, Nov 24, 2009 at 8:05 PM, Barry Kaplan grou...@memelet.com wrote: Its a bit painful to have to

Re: Are sources not published for snapshot builds by design?

2009-11-24 Thread Jon Anstey
Oh, and it *shouldn't* add too much to the build time... famous last words ;) On Tue, Nov 24, 2009 at 9:19 PM, Jon Anstey jans...@gmail.com wrote: Hey guys, I just updated Hudson to deploy source jars and kicked off a new build. Lemme know if it doesn't work. On Tue, Nov 24, 2009 at 4:40

Re: Cyclic dependency in latest 2.1-SNAPSHOT

2009-11-17 Thread Jon Anstey
Oops! Will fix that up right away. On Tue, Nov 17, 2009 at 3:46 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi This was a bad commit recently. Jonathan, you should move the jms based test you added in camel-test to camel-jms. camel-test should just be the test API and have no dep. on any

Re: Geronimo 2.2 Release Status

2009-11-15 Thread Jon Anstey
I have no idea about the Geronimo release plans. I've copied the Geronimo users list for further info. On Sun, Nov 15, 2009 at 4:51 PM, frapien frank.pien...@gmx.de wrote: How are the plans? Will Geronimo 2.2 get out this year? Are there any open isues? Releaseplan speaks from Proposed

Re: Release plans for Camel 2.1

2009-11-15 Thread Jon Anstey
I think we're aiming to have 2.1 available by the end of the year. On Sun, Nov 15, 2009 at 5:15 PM, frapien frank.pien...@gmx.de wrote: are there any release plans with dates for Camel 2.1? http://camel.apache.org/camel-210-release.html Thanks for sharing, Frank -- View this message in

Re: Problem of skipped items/stories in Camel RSS reader

2009-11-05 Thread Jon Anstey
Yeah, I considered using Apache Abdera to do the RSS support under the hood but at the time it was just a bit of code in a sandbox. Now, its still not released anywhere :) I guess for now we'll just stick with ROME. Though, maybe in the future we can consider Abdera if it is better. On Thu, Nov

Re: Running Camel Examples with Maven in version 2.0.0

2009-10-15 Thread Jon Anstey
Whoa, that is bad. I tried out the latest from http://repo2.maven.org/maven2/org/apache/camel/apache-camel/2.0.0/apache-camel-2.0.0.tar.gzand it only seems that examples/camel-example-tracer/pom.xml has the SNAPSHOT (still bad of course but not as bad as all examples containing SNAPSHOTs!). Btw

Re: Running Camel Examples with Maven in version 2.0.0

2009-10-15 Thread Jon Anstey
No worries. Thanks for reporting this. I think I have a fix for the next release :) On Thu, Oct 15, 2009 at 11:20 AM, Ryadh Amar magnetic.gan...@gmail.comwrote: Hi Janstey, Looks like I was wrong, I really believed that all the examples were affected... Excuse the haste :D But as you've

Re: reading endpoints from a properties file

2009-10-14 Thread Jon Anstey
You should be able to use a PropertyPlaceholderConfigurer [1] to load up the properties file and then use a URI like uri=${serviceOne} [1] http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/beans/factory/config/PropertyPlaceholderConfigurer.html On Wed, Oct 14, 2009 at 2:25

Re: reading endpoints from a properties file

2009-10-14 Thread Jon Anstey
Oh yeah, forgot about that issue! FYI there is a workaround before we upgrade to Spring 3 http://cmoulliard.blogspot.com/2009/05/trick-to-pass-uri-declared-in-property.html On Wed, Oct 14, 2009 at 2:47 PM, tide08 sachin2...@yahoo.com wrote: Unfortunately spring property place holder cannot

Re: human friendliness of camel

2009-10-06 Thread Jon Anstey
I know lately I've been designing most of my Camel apps using a combination of Spring configuration and Java RouteBuilder classes... something like bean id=myrouter1 class=com.mycompany.MyRouteBuilder1/ bean id=myrouter2 class=com.mycompany.MyRouteBuilder1/ ... camelContext id=camel

Re: errorHandlerRef - camel route vs camel context

2009-08-11 Thread Jon Anstey
Yeah, the scope of the error handler is different in those two cases. When added to the camelContext, it applies to all routes in the context. When applied to a single route, it only applies to that route. On Tue, Aug 11, 2009 at 10:10 AM, Charles Moulliard cmoulli...@gmail.comwrote: Hi, I

Re: errorHandlerRef - camel route vs camel context

2009-08-11 Thread Jon Anstey
I think I jumped the gun here... that was a bit obvious :) Charles, are you noticing other differences in behavior? On Tue, Aug 11, 2009 at 10:19 AM, Jon Anstey jans...@gmail.com wrote: Yeah, the scope of the error handler is different in those two cases. When added to the camelContext

Re: errorHandlerRef - camel route vs camel context

2009-08-11 Thread Jon Anstey
Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, Aug 11, 2009 at 2:51 PM, Jon Anstey jans...@gmail.com wrote: I think I jumped the gun here... that was a bit obvious :) Charles, are you noticing other

Re: Velocity component use of org.apache.camel.velocity.resourceUri header

2009-07-22 Thread Jon Anstey
Yeah, you kinda have to read it a few times to catch that :) I've updated the docs to be a bit more explicit. If you want to extend VelocityEndpoint to reload templates most of the work is already done in the onExchange method (it already creates a new velocity context every time). Though, if you

Re: File Component (2.0-M2) not polling

2009-07-22 Thread Jon Anstey
I think your main method is terminating before Camel has a chance to do anything. org.apache.camel.spring.Main actually starts up a new main thread and waits for completion so it doesn't exit right away. If it fits your usecase, I would recommend just using org.apache.camel.spring.Main. Cheers,

Re: Velocity component use of org.apache.camel.velocity.resourceUri header

2009-07-21 Thread Jon Anstey
That header is actually what the camel-velocity component *sets* on the message. You can't use it to dynamically configure the template. To do that you'll probably need to create a custom bean that creates a velocity endpoint and sends to it based on what template you need. Something like

Re: Enterprise Integration Patters Icons for OpenOffice Draw

2009-06-15 Thread Jon Anstey
Nice work Marco! Mind if I attach this to the Camel wiki? I think this will be useful to a lot of people. On Mon, Jun 15, 2009 at 11:28 AM, Marco Garbelini garbel...@gmail.comwrote: Hi, I went through the trouble of converting some of the icons from the Visio stencil available at the Camel

Re: Enterprise Integration Patters Icons for OpenOffice Draw

2009-06-15 Thread Jon Anstey
FYI I've added it to this page http://cwiki.apache.org/confluence/display/CAMEL/Enterprise+Integration+Patterns On Mon, Jun 15, 2009 at 1:25 PM, Marco Garbelini ma...@garbelini.netwrote: Hi, Not at all, go ahead. That's the idea. /Marco On Mon, Jun 15, 2009 at 5:14 PM, Jon Anstey jans

Re: Camel Printing

2009-05-15 Thread Jon Anstey
As far as interest goes, I think a lot of people would find this very useful. From my own experience I know message queuing + label printing is very popular in the manufacturing sector. Looking forward to more on this project! :) On Fri, May 15, 2009 at 7:32 AM, Martin Gilday martin.li...@imap.cc

Re: Visio stencil of the EIP patterns relooked for Apache Camel

2009-04-17 Thread Jon Anstey
is a picture of what I have done for the second part of my tutorial ( http://cwiki.apache.org/confluence/download/attachments/113428/routing.jpg ). So you see the icons in action Regards, Charles On Fri, Apr 17, 2009 at 3:06 PM, Jon Anstey jans...@gmail.com wrote: Charles, Very nice icons

Re: SCA Integration

2009-04-01 Thread Jon Anstey
On Wed, Apr 1, 2009 at 4:38 AM, Willem Jiang willem.ji...@gmail.com wrote: Are you kidding ? I think we'll be getting a lot of this today. Just take a peek at James' latest blog post ;) lol! The SCA that I am talking about is Service Component Architecture, and Apache tuscany[1] provides

Re: content router question

2009-02-11 Thread Jon Anstey
Hmmm looks like my response to this question didn't make it to the old mail list. I sent to users@camel.apache.org but it looks like nabble is only showing stuff from camel-u...@activemq.apache.org On Mon, Feb 9, 2009 at 1:15 PM, Jon Anstey jans...@gmail.com wrote: Try using a bean

Re: content router question

2009-02-11 Thread Jon Anstey
11, 2009 at 2:26 PM, Jon Anstey jans...@gmail.com wrote: Hmmm looks like my response to this question didn't make it to the old mail list. I sent to users@camel.apache.org but it looks like nabble is only showing stuff from camel-u...@activemq.apache.org On Mon, Feb 9, 2009 at 1:15