Re: MINA Serial - what route syntax and how to install ?

2012-11-13 Thread c031917
This is very bad news. I had asked about mina2 availability in Dec. 2011 and May 2012. In May Claus Ibsen stated that mina2 would be in camel 2.10. In the meantime I had to use an ugly python workaround to get serial data and post it via STOMP. I was happy that mina2 was mentionend in version 2.1

Re: MINA Serial - what route syntax and how to install ?

2012-11-13 Thread Claus Ibsen
On Tue, Nov 13, 2012 at 9:52 AM, c031917 wrote: > This is very bad news. I had asked about mina2 availability in Dec. 2011 and > May 2012. > In May Claus Ibsen stated that mina2 would be in camel 2.10. > > In the meantime I had to use an ugly python workaround to get serial data > and post it via

Re: Setup of JMS message listener failed Exception JmsComponent

2012-11-13 Thread Charles Moulliard
Seems that the JTA Tx Manager is not there. On Mon, Nov 12, 2012 at 9:07 PM, javaxmlsoapdev wrote: > yeah. Queue definitely exists, i am able to connect through other tool. > > I am using camel version 2.10.0. As such there is no stack trace since > camel/spring reports that as a WARN > > 2012-1

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-11-13 Thread Claus Ibsen
Hi I suspect its because you use Spring's Caching ConnectionFactory as connection pool. So even if camel-jms has CACHE_NONE, then because the consumer is not cached on the reply listener (because you configured it to cache none), it would have to get a new consumer from the connection factory, whi

Re: Setting root folder as endpoint - Could not poll endpoint NPE

2012-11-13 Thread Claus Ibsen
See the ticket that was logged, it has fix-versions with the details. On Tue, Nov 13, 2012 at 10:58 AM, tonyperrin wrote: > Has this issue been fixed in the latest Camel release does anyone know? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Setting-root-folder-a

Saxon and saxon9he

2012-11-13 Thread Bengt Rodehav
I'm using Camel 2.10.2 on Karaf 2.3.0. I'm trying to use xpath but I get the following exception: *2012-11-13 13:20:38,307 | ERROR | rfaces/fundorder | DefaultErrorHandler | rg.apache.camel.util.CamelLogger 215 | Failed delivery for (MessageId: ID-IT-D-FQR815J-56524-1352809143728-0-1

Re: Saxon and saxon9he

2012-11-13 Thread Claus Ibsen
The JAR is in SMX repo at http://svn.apache.org/repos/asf/servicemix/m2-repo On Tue, Nov 13, 2012 at 2:39 PM, Bengt Rodehav wrote: > I'm using Camel 2.10.2 on Karaf 2.3.0. > > I'm trying to use xpath but I get the following exception: > > *2012-11-13 13:20:38,307 | ERROR | rfaces/fundorder | Defa

Re: Saxon and saxon9he

2012-11-13 Thread Claus Ibsen
Though there is a SMX bundle as well http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.saxon/9.4.0.4_1/ The problem is that the SMX bundle doesn't contain all the files that the official JAR has. Its approx 9mb and the SMX bundle is much smaller. Though don

Re: Saxon and saxon9he

2012-11-13 Thread Bengt Rodehav
Thanks Claus. You don't happen to know anything about using Camel's xpath language within Karaf? Should it be possible without resorting to Saxon? I couldn't see any osgi tests regarding this. /Bengt 2012/11/13 Claus Ibsen > Though there is a SMX bundle as well > > http://repo2.maven.org/mave

Re: Saxon and saxon9he

2012-11-13 Thread Claus Ibsen
On Tue, Nov 13, 2012 at 3:22 PM, Bengt Rodehav wrote: > Thanks Claus. > > You don't happen to know anything about using Camel's xpath language within > Karaf? Should it be possible without resorting to Saxon? I couldn't see any > osgi tests regarding this. > Maybe try using the cxf.jre.properties

Re: Saxon and saxon9he

2012-11-13 Thread Bengt Rodehav
OK - thanks for the hint, /Bengt 2012/11/13 Claus Ibsen > On Tue, Nov 13, 2012 at 3:22 PM, Bengt Rodehav wrote: > > Thanks Claus. > > > > You don't happen to know anything about using Camel's xpath language > within > > Karaf? Should it be possible without resorting to Saxon? I couldn't see >

Re: Saxon and saxon9he

2012-11-13 Thread Claus Ibsen
Hi Bengt Please keep us posted with your findings. There may be something we need to fix / do / document to make this easier / work. On Tue, Nov 13, 2012 at 3:38 PM, Bengt Rodehav wrote: > OK - thanks for the hint, > > /Bengt > > > 2012/11/13 Claus Ibsen > >> On Tue, Nov 13, 2012 at 3:22 PM, Be

Transacting two web services - EIP?

2012-11-13 Thread dunnlow
Hello, I am using camel 2.9 and Spring 3. I have a transacted route in which I am pulling messages from a queue (activemq) and sending messages to two web services (via multicast). The web services are notification services that send messages to users (there is no real roll back strategy - once t

Re: Saxon and saxon9he

2012-11-13 Thread Bengt Rodehav
Will do. 2012/11/13 Claus Ibsen > Hi Bengt > > Please keep us posted with your findings. There may be something we > need to fix / do / document to make this easier / work. > > On Tue, Nov 13, 2012 at 3:38 PM, Bengt Rodehav wrote: > > OK - thanks for the hint, > > > > /Bengt > > > > > > 2012/1

RE: Transacting two web services - EIP?

2012-11-13 Thread Ramkumar.Iyer
I am not getting your question. Are both webservices part of a single transaction ? I.e do you have one from clause and two to clauses? I am new to Camel. Hope below helps Have you looked at http://camel.apache.org/transactionerrorhandler.html And its features? As the TransactionErrorHandler al

Re: Transacting two web services - EIP?

2012-11-13 Thread Christian Müller
If you use the Camel, you can configure the error handler to redeliver your message. The good is, Camel will only redeliver the failed endpoint. The bad is, the redelivery is done in memory. But if you use the TransactionalErrorHandler (which supports redelivery) you can make sure you will not lose

Re: Transacting two web services - EIP?

2012-11-13 Thread Donald Whytock
On Tue, Nov 13, 2012 at 11:35 AM, dunnlow wrote: > Hello, I am using camel 2.9 and Spring 3. I have a transacted route in which > I am pulling messages from a queue (activemq) and sending messages to two > web services (via multicast). The web services are notification services > that send messa

Re: MINA Serial - what route syntax and how to install ?

2012-11-13 Thread Christian Müller
Hello Peter! I regret to see you upset. Please find my notes inline in your mail. Best, Christian On Tue, Nov 13, 2012 at 9:52 AM, c031917 wrote: > This is very bad news. I had asked about mina2 availability in Dec. 2011 > and > May 2012. > In May Claus Ibsen stated that mina2 would be in camel

JMS to Secured Spring Method with PreAuthorize annotation

2012-11-13 Thread john.mo...@kronos.com
I have an existing Spring MVC application which has @PreAuthorize annotations on the business services. I would like to add the ability for a client/system to send JMS Messages which, in-turn, calls methods on those secured spring beans. /FYI, without the @PreAuthorize annotation the call's work

Re: JMS to Secured Spring Method with PreAuthorize annotation

2012-11-13 Thread Willem jiang
It looks like you need to pass the SecurityContext across the JMS endpoint. when you using the camel-jms component, it will transfer the exchange which hold the SecurityContext for you if you set the "transferExchange" option to be true. -- Willem Jiang Red Hat, Inc. FuseSource is now part of