Accessing a Map header via Simple?

2012-01-31 Thread dunnlow
Hi. I have a Map in my header and I am trying to access it via Simple in my spring dsl. I see an example using body in the documentation and am extrapolating that for my header purposes. However, I'm getting a NullPointerException, so I am thinking I've got bad syntax. My map holds key/value pa

Re: Really Basic Question on ServiceMix, Karaf and Camel

2012-01-31 Thread mattmadhavan
Hi Brian, Thank you very much for your reply. Does ServiceMix itself have any ot its own technology at all besides packaging other technologies? Thanks Matt -- View this message in context: http://camel.465427.n5.nabble.com/Really-Basic-Question-on-ServiceMix-Karaf-and-Camel-tp5443239p5445148.h

Re: How to impl bean-side of proxy w/Future return?

2012-01-31 Thread Jason Dillon
BTW, I never went forward using the bean stuff in Camel... didn't need the additional reflection overhead vs. adapting producers and exchanges directly. --jason On Jan 30, 2012, at 2:06 AM, voodooless wrote: > So, is there any news on this issues? > > Is there any complete working examples of

Re: Unit test fails after upgrading to 2.9.0. Cannot use xquery expression after xpath

2012-01-31 Thread ltsall
Hi, After a long time I tried this unit test in the newest camel 2.9.0 version. and it still fails. Am I missing something? I cound use .convertBodyTo(Document.class) just after the splitter but 1. this is not required in the 2.5 version, unit test succeeds using camel 2.5.0. 3. I made the te

Passing parameter values to bean methods via spring

2012-01-31 Thread Gershaw, Geoffrey
Hello, I am a newbie to Camel. I've read a bunch of docs, but have not found an answer to this specific use case. 1. Assume the following. a. I have the belown XML msg in the body of my Message. joe b. I am using a bean as a Filter. The method signat

Re: Datacoding/Alphabet issue in SMPP

2012-01-31 Thread Taariq Levack
Woops, I saw the range in the docs and didn't think twice of it, relied on what I saw in the trunk code. I'm sorry I thought it's 2 options Andre. Taariq On Tue, Jan 31, 2012 at 3:25 PM, Christian Müller < christian.muel...@gmail.com> wrote: > Starting with Camel 2.9.0, the name of this option

Camel-Web-Console in Non-Web Camel-Application with Maven

2012-01-31 Thread Creedinger
Hi. I have problems understanding the use of the web-console. Is it made for Camel-Web-Applications only or is it possible to monitor an regular java-app which includes some camel stuff? I only got as far as integrating jetty into my project and starting it including the camel-web-console compon

Re: Datacoding/Alphabet issue in SMPP

2012-01-31 Thread Christian Müller
Starting with Camel 2.9.0, the name of this option is "alphabet" (not "dataCoding"). It takes a byte as value (-1 is the default one). If you provide a value not equal to -1, we try to create the corresponding org.jsmpp.bean.Alphabet instance: Alphabet.valueOf(alphabet); // in your case alphabet i

Re: JMS and transaction

2012-01-31 Thread Claus Ibsen
Hi You can have different queues for different styles - queues which can safely be processed concurrently and out of order - other queue(s) where messages must be processed in order On Tue, Jan 31, 2012 at 11:00 AM, Hervé BARRAULT wrote: > Thanks for your accurate answers. > > I have seen mess

Re: JMS and transaction

2012-01-31 Thread Hervé BARRAULT
Thanks for your accurate answers. I have seen messages groups but i have some messages which are out potential groups. So i have to deal with unordered messages. (or i should find a way to have multiconsumer the main time and some time for some known messages i should "downgrade" to only one cons

Re: JMS and transaction

2012-01-31 Thread Claus Ibsen
On Tue, Jan 31, 2012 at 10:00 AM, Hervé BARRAULT wrote: > Thanks, > So, i should publish sequentially and can consume concurrently. Yeah, or public concurrently also. If ordering does not matter. Only if you need ordering of messages, and process concurrently you can use message groups http://ac

Re: JMS and transaction

2012-01-31 Thread Hervé BARRAULT
Thanks, So, i should publish sequentially and can consume concurrently. As there is only direct component which is a synchronous call, I guess a transaction can work across multiple route but in one camel context. Am i wrong ? On 1/30/12, Claus Ibsen wrote: > On Mon, Jan 30, 2012 at 3:41 PM, H