Re: Is camel cxf failover is working ? It doesn't seem to work at all. Please confirm.

2010-03-17 Thread rdomingo
check. Please don't add any new replies to this topic, but use other topic: "Problem with CXF Failover -> Already connected error" Claus Ibsen-2 wrote: > > Hi > > Please do NOT start a new thread on the same topic you already have > started. > And people have already replied and helped you

Re: Problem with CXF Failover -> Already connected error

2010-03-17 Thread rdomingo
I suspected the solution to my problem should be really easy, and you just confirmed this. It is working now, THANK YOU !!! java.lang.Exception After I debugged the problem, it seemed failover was kicking in. So I never considered adding other exceptions to failover After reading your pos

timeUnit for polling consumers

2010-03-17 Thread Kevin Jackson
Hi, I've looked at the source code for trunk and this property seems to be enabled for polling consumers such as FileConsumer. I'm currently running camel 2.1 and adding this property to the end of the endpoint uri seems to have no effect. Is there somewhere on the wiki with a full changelog for

Re: timeUnit for polling consumers

2010-03-17 Thread Claus Ibsen
On Wed, Mar 17, 2010 at 10:31 AM, Kevin Jackson wrote: > Hi, > > I've looked at the source code for trunk and this property seems to be > enabled for polling consumers such as FileConsumer. > > I'm currently running camel 2.1 and adding this property to the end of > the endpoint uri seems to have

camel + cometd + jms

2010-03-17 Thread Charles Moulliard
Hi, I have created a camel route where a timer calls every 5 seconds a bean. The bean is a ProducerTemplate who will generate an object and place it on an ActiveMq queue. http://camel.apache.org/schema/spring";> org.apache.camel.cometd

Multiple durable consumers on jms topic

2010-03-17 Thread Marcin Cylke
Hi I'm having some weird behavior with JMS one-producer-multiple-consumer situation. I'm publishing messages to jms topic and than have multiple consumers which poll messages from it. Each consumer is in separate SU and I'm deploying all the components in SMX (3.3). The problem I'm observing i

Re: camel + cometd + jms

2010-03-17 Thread Charles Moulliard
Hi, I have find the solution. My template was called like template.requestBody("activemq:stock", stock) and not like template.sendBody("activemq:stock", stock) Can we said that requestBody = InOut and sendBody = InOnly for JMS ? Kind regards, Charles Moulliard Senior Enterprise Architect Apach

Re: camel + cometd + jms

2010-03-17 Thread Willem Jiang
Hi Charles, The exception is caused by there is no service which consume the queue's message and put the response back. If you just want to send the message to queue, you just call the template's send method with MEP to InOnly. Willem Charles Moulliard wrote: Hi, I have created a camel rou

Re: XSL Character encoding issue

2010-03-17 Thread Willem Jiang
Hi Joe, Can you show me the stack trace? I can't see anything wrong by going through the camel route. Willem Joe Osowski wrote: We're using Camel version 2.2.0 Here us the route in question: from(ARTICLE_INDEX_QUEUE) // if XSL transformation failed, don't retry. .onExcept

Re: camel + cometd + jms

2010-03-17 Thread john robens
Charles I spent a fair bit of time on this. Should be doable in Camel 2.2. Are you using the camel plugin? It will need rewriting. http://www.mail-archive.com/users@camel.apache.org/msg06003.html Otherwise I got it working by making sure there was a processor class. service has: de

Re: camel + cometd + jms

2010-03-17 Thread Claus Ibsen
On Wed, Mar 17, 2010 at 12:47 PM, Charles Moulliard wrote: > Hi, > > I have find the solution. > > My template was called like template.requestBody("activemq:stock", stock) > and not like > template.sendBody("activemq:stock", stock) > > Can we said that requestBody = InOut and sendBody = InOnly fo

Re: camel + cometd + jms

2010-03-17 Thread Charles Moulliard
yep. Info is in the javadoc. Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://www.li

Re: Event Driven Producer :)

2010-03-17 Thread ankelee
And what if you wanted to use some data, like a header, from the old message? Is this possible with the new Exchange? -- View this message in context: http://old.nabble.com/Event-Driven-Producer-%3A%29-tp27874120p27931086.html Sent from the Camel - Users mailing list archive at Nabble.com.

Apache Camel Basic exam on JavaBlackBelt

2010-03-17 Thread hekonsek
Hi My name is Henryk. I wrote here as a JavaBlackBelt administrator (http://javablackbelt.com). JBB is a Java certification community focused on creating and passing (or failing :P) Java-related exams. I want to create a "Camel - Basic" exam. It's purpose is to test the knowledge of basic usage

How to fix code which was working in camel 1.4 but now not in 2.1.0

2010-03-17 Thread pratibhaG
Hi all, I have following configuration in my camel component which I use in servicemix3.3.1. I have upgraded my camel component in servicemix to 2.1.0. When I try to build this custom operation I get error for following methods: 1. deadLetterChannel 2. intercept 3. initialRedeliveryDelay Ther

Re: How to fix code which was working in camel 1.4 but now not in 2.1.0

2010-03-17 Thread Claus Ibsen
Hi You could consider professional support to help with your upgrade as upgrading SMX 3.x to use a Camel 2.x may not be that easy. SMX 4.2 is the only officially that uses Camel 2.x. Otherwise the compiler will help you with the change of method names etc in the RouteBuilder. And instead of inte

Re: Event Driven Producer :)

2010-03-17 Thread Claus Ibsen
On Wed, Mar 17, 2010 at 1:05 PM, ankelee wrote: > > And what if you wanted to use some data, like a header, from the old message? > Is this possible with the new Exchange? > -- Actually I dont think you got the old exchange around when using that wireTap new message thingy. It was meant for a sim

Re: Event Driven Producer :)

2010-03-17 Thread ankelee
Alright I created the ticket. I have no idea how long it would take to do though, so I just estimated 5 hours :) https://issues.apache.org/activemq/browse/CAMEL-2555 -- View this message in context: http://old.nabble.com/Event-Driven-Producer-%3A%29-tp27874120p27932529.html Sent from the Camel

Re: Event Driven Producer :)

2010-03-17 Thread Claus Ibsen
On Wed, Mar 17, 2010 at 3:00 PM, ankelee wrote: > > Alright I created the ticket. I have no idea how long it would take to do > though, so I just estimated 5 hours :) > We actually dont use those estimates. But 5 hours, that will be 5 beers :) > https://issues.apache.org/activemq/browse/CAMEL-2

Nested choice

2010-03-17 Thread leNerd
Inside a route i am trying to create a nested choice structure in two levels, but the outermost otherwise never gets called. I have tried to insert an end(), but it doesn't compile. I found an old thread http://old.nabble.com/Are-nested-choice-processors-possible--td17445856.html#a17445856 but i

Re: Nested choice

2010-03-17 Thread Claus Ibsen
Split into multiple routes. The Java compiler with generics have been stretched as far you can go with Java language. Or use Spring XML as the XML tags can be nested. Or Scala which happens to be a much better language for creating DSL. On Wed, Mar 17, 2010 at 4:23 PM, leNerd wrote: > > Inside a

Re: Persistent imap connections?

2010-03-17 Thread aronb
Yes, Java mail supports this. It does not appear to be implemented in Camel mail though. It would be great to be able to use an event driven model when integrating with an imap server. http://java.sun.com/products/javamail/javadocs/com/sun/mail/imap/IMAPStore.html#idle() Java Mail API IDLE link

Re: Modifying SOAP:Fault errors raised by endpoints

2010-03-17 Thread Jim Talbut
I'm sorry, but I'm afraid I must be missing something. You say "just use your own JPA code to persist the message" like it's a simple thing to do, but it doesn't appear to be. The out of the box TraceInterceptor hard codes the canonical name of the class that it's loading, and loads it excplic

Re: Modifying SOAP:Fault errors raised by endpoints

2010-03-17 Thread Claus Ibsen
Hi Looks like the getTracedExchange method was removed a bit later. I have adde a ticket to track this https://issues.apache.org/activemq/browse/CAMEL-2556 On Wed, Mar 17, 2010 at 7:06 PM, Jim Talbut wrote: > I'm sorry, but I'm afraid I must be missing something. > You say "just use your own J

Re: custom component using Mina

2010-03-17 Thread anandsk
I ended up doing this, may be similar functionality can be added in future releases to existing Mina component. 1. copied all Mina component related classes to create custom Mina component to fit my needs. 2. receivehandler extends mina api's iohandleradpater 3. added member variable iohandlerad

RE: XSL Character encoding issue

2010-03-17 Thread Joe Osowski
Thanks Willem, but I resolved this issue following the notes on this page: http://camel.apache.org/xslt.html Thanks -Joe -Original Message- From: Willem Jiang [mailto:willem.ji...@gmail.com] Sent: Wed 3/17/2010 4:50 AM To: users@camel.apache.org Subject: Re: XSL Character encoding issue

Re: XSL Character encoding issue

2010-03-17 Thread Willem Jiang
It's good to see you find the answer yourself, so it looks like a JDK XLST issue. Willem Joe Osowski wrote: Thanks Willem, but I resolved this issue following the notes on this page: http://camel.apache.org/xslt.html Thanks -Joe -Original Message- From: Willem Jiang [mailto:willem.j