Re: Camel from the Scala command line

2011-02-14 Thread Martin Krasser
Hi Blair, this would be very helpful. Although I didn't use plain Camel with the Scala REPL yet, I was using https://github.com/krasserm/scalaz-camel/wiki a lot recently. Example (with the Scala console started from sbt inside scalaz-camel): scala> import scalaz.camel._ import scalaz.camel._

Re: asyncDelayedRedelivery and JMS queues

2011-02-14 Thread Claus Ibsen
Hi Its best to use the JMS Broker redelivery feature if possible. It has a persistent store for the messages, so they wont be lost in case of a crash. Also the JMS consumer doesn't support the async routing engine in InOnly mode http://camel.apache.org/asynchronous-routing-engine.html Which you

Re: tutorial-osgi-camel-part1 on virgo (dm Server)

2011-02-14 Thread Charles Moulliard
Hi Jacob, The tutorial that you would like to use is a bit old now. I think that I create it almost two years ago and it must be updated to be deployed on Karaf 2.x with Camel 2.x. Neverthless, the error that you have here is related to the fact that when your bundle starts and when spring cre

Camel 2.6 AMQP Component and AMQP v 0.9.1

2011-02-14 Thread Tomas Malmsten
Hello all, I'm trying to post messages from a route into an instance of the RabbitMQ v 2.3.1. I get the following error message when trying to connect with the AMQP Component: [aultMessageListenerContainer-1] DefaultErrorHandlerERROR Failed delivery for exchangeId: ID:tomas-malmst

camel-jaxb in jboss is not running

2011-02-14 Thread Bill
Hi, all My codes is like this: and It runs well in tomcat,but whe

Re: camel-jaxb in jboss is not running

2011-02-14 Thread Claus Ibsen
Hi See the FAQ http://camel.apache.org/how-do-i-run-activemq-and-camel-in-jboss.html On Mon, Feb 14, 2011 at 10:12 AM, Bill wrote: > > Hi, all > My codes is like this: > >                                 >                                         >                                         >      

Re: Camel 2.6 AMQP Component and AMQP v 0.9.1

2011-02-14 Thread Claus Ibsen
Hi camel-amqp was created a long time ago and haven't been updated to the latest qpid release. The AMQP spec / project had has its ups and downs over the years. And it seem it got a bit attention due SpringSource and their rabbit. There is a ticket to upgrade qpid. Patches is welcome https://issu

Re: tutorial-osgi-camel-part1 on virgo (dm Server)

2011-02-14 Thread JacobS
Willem, I am using jdk1.6 do you know how can i set virgo to fit this jdk? -- View this message in context: http://camel.465427.n5.nabble.com/tutorial-osgi-camel-part1-on-virgo-dm-Server-tp3383469p3384188.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-jaxb in jboss is not running

2011-02-14 Thread Claus Ibsen
On Mon, Feb 14, 2011 at 10:44 AM, Bill wrote: > > Hi , > I add JBossPackageScanClassResolver.java in my project. > > and it started well , my mq is IBM MQ. > > and I have another error. > >                         >                         >                         uri="cxf:bean:serverEndpoint?dat

Re: tutorial-osgi-camel-part1 on virgo (dm Server)

2011-02-14 Thread JacobS
I am not using karaf, what kind of changes should I do to fit camel 2.x in virgo (dm server)? -- View this message in context: http://camel.465427.n5.nabble.com/tutorial-osgi-camel-part1-on-virgo-dm-Server-tp3383469p3384195.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: tutorial-osgi-camel-part1 on virgo (dm Server)

2011-02-14 Thread Charles Moulliard
Hi Jacob, Can you point me to Virgo Server to allow me to make a test please ? Have you tried what I suggest ? Regards, Charles On Mon, Feb 14, 2011 at 10:49 AM, JacobS wrote: > > I am not using karaf, what kind of changes should I do to fit camel 2.x in > virgo (dm server)? > -- > View this m

Re: tutorial-osgi-camel-part1 on virgo (dm Server)

2011-02-14 Thread JacobS
I tried to deploy the project with Karaf 2.1.2 but although the bundles are active nothing seems to happen. This is where you can find Virgo: http://www.eclipse.org/virgo/download/ Thanks for your help Jacob -- View this message in context: http://camel.465427.n5.nabble.com/tutorial-osgi-camel

Re: Modifying route using adviceWith showing inconsistent behaviour

2011-02-14 Thread Claus Ibsen
Hi You should create the exchange using the endpoint, eg like this Exchange exchange1 = context.getEndpoint("direct://start").createExchange(); But often its much easier just to use the template context.createProducerTemplate().sendBody("direct://start", "The body here"); And a rule of

Re: [Camel 2.4/2.5] 2 questions about RedeliveryPolicy tag

2011-02-14 Thread kaoru
Yes. I have a called myRedeliveryPolicy: But in redeliveryPolicy tag (inside errorHandler tag) I can't use 'ref': -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-4-2-5-2-questions-about-RedeliveryPolicy-tag-tp3381184p3384553.html Sent from the

Re: [Camel 2.4/2.5] 2 questions about RedeliveryPolicy tag

2011-02-14 Thread Claus Ibsen
On Mon, Feb 14, 2011 at 3:43 PM, kaoru wrote: > > Yes. > I have a called myRedeliveryPolicy: >          class="org.apache.camel.processor.RedeliveryPolicy" >          p:redeliveryDelay="${mms.redelivery.delay}" >          ... >            /> > > But in redeliveryPolicy tag (inside errorHandler t

Re: camel-jaxb in jboss is not running

2011-02-14 Thread Bill
Hello, added is not worked. just print the same error message. -- View this message in context: http://camel.465427.n5.nabble.com/camel-jaxb-in-jboss-is-not-running-tp3384152p3385292.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-jaxb in jboss is not running

2011-02-14 Thread Bill
and I DO NOT understand why it works well in tomcat, but not in jboss. I want to know how to analysis the question just like this. -- View this message in context: http://camel.465427.n5.nabble.com/camel-jaxb-in-jboss-is-not-running-tp3384152p3385300.html Sent from the Camel - Users mailing lis

Re: camel-jaxb in jboss is not running

2011-02-14 Thread Bill
Hello , I think I find the key code. In org.apache.camel.impl.converter.BaseTypeConverterRegistry -- line 170 , there is a ConcurrentHashMap named misses has different values. in jboss -- misses values : {[class java.lang.String=>interface javax.xml.transform.Source]=[class java.lang.String=

Re: camel-jaxb in jboss is not running

2011-02-14 Thread Claus Ibsen
When Camel startup it logs something about XXX @Converters loaded. Can you check that log statement and see what it prints. On Tue, Feb 15, 2011 at 3:37 AM, Bill wrote: > > Hello , I think I find the key code. > > In org.apache.camel.impl.converter.BaseTypeConverterRegistry -- line 170 , > there

Re: Modifying route using adviceWith showing inconsistent behaviour

2011-02-14 Thread Sumit Teke
Thanks for your reply. Tried changing creation of exchange but didnt help. Have added a test case "TestLoad". Attached maven project. Thanks, Sumit Teke Omniscient Software Pvt Ltd T. +91-20-26680814, Ext. 217 F. +91-20-26680815, Ext. 212 M. +91-9975709032 E. sumit_t...@omniscient.co.in On

Re: camel-jaxb in jboss is not running

2011-02-14 Thread Bill
Hi , thanks your reply. ---in tomcat [ main] AnnotationTypeConverterLoader INFO Found 5 packages with 16 @Converter classes to load [ main] DefaultTypeConverter INFO Loaded 157 type converters in 0.583 seconds --b