Re: Trouble with split/tokenize on linux

2012-11-21 Thread Christian Müller
Fixed! Denis, do you consider giving the 2.10.3-SNAPSHOT or 2.11.0-SNAPSHOT a test spin? Best, Christian On Wed, Nov 21, 2012 at 11:04 PM, Christian Müller < christian.muel...@gmail.com> wrote: > The ticket is https://issues.apache.org/jira/browse/CAMEL-5767 > > Best, > Christian > > > On Wed, N

[camel-mina2] Bug in default UDP codec (Mina2UdpProtocolCodecFactory)?

2012-11-21 Thread Mikael Fernandus S
Hi, While testing Camel Mina 2 component, we noticed that big message payload received via UDP endpoint was always truncated to 2048 bytes at Mina2Consumer. We did some investigation and found out that this problem was caused by the default UDP codec. Comparing default UDP codec in Mina 2 with its

Re: Call constructor from route

2012-11-21 Thread Christian Müller
Can you use a scripting language? Sent from a mobile device Am 21.11.2012 12:46 schrieb "JasonN" : > Thanks for your help. > > That's a shame though as you may not have control over the class to be able > to add default constructor + other methods and even if you do there could > be > objections

Re: Trouble with split/tokenize on linux

2012-11-21 Thread Christian Müller
The ticket is https://issues.apache.org/jira/browse/CAMEL-5767 Best, Christian On Wed, Nov 7, 2012 at 6:11 AM, Denis S wrote: > Hi Christian, > > Yes, it does work! Thank you so much. > > Denis. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Trouble-with-split-to

Re: File locking problem: Windows 7, Camel 2.10.2, Smooks 1.5.1, JBoss 5.1

2012-11-21 Thread Christian Müller
I think the issue is in the Smooks library: If you have a look at org.apache.camel.builder.xml.XsltBuilder#process(Exchange) [1] you can see Camel also close the underlying input stream of the source. Smooks doesn't do this in org.milyn.templating.xslt.XslTemplateProcessor#bypass(...) [2]. Can you

Re: camel in OSGi: custom component resolved or listen to

2012-11-21 Thread Christian Müller
Did you tried blueprint? It has possibilities to export/import services/beans to/from the OSGI registry and it makes your life much easier... Best, Christian On Tue, Nov 20, 2012 at 11:30 AM, Babel wrote: > Hello dear all! > > After having search on Internet and also on the camel-osgi tutoroial

Re: Web Console

2012-11-21 Thread tosheer
Hi Sam, Thanks for the camelwatch, its an awesome product..!! Can you please guide me to the any documentation/forum of Camelwatch, as i am able to start and see my camel context/Camel routes deployed in karaf. but some of the stats like load and inflight are not self explanatory. Also since we

Re: CamelContext behaviour - does a parallel/multiple sendBody() creates new instances of routes and endpoints?

2012-11-21 Thread Claus Ibsen
Hi I am not sure we follow what you talk about. I suggest to just play a bit with Camel, then you get a fell of it. There is plenty of examples, and many good intro blogs / articles from 3rd party sites / people. See links from here http://camel.apache.org/articles On Tue, Nov 20, 2012 at 11:

Re: [camel-bindy] Handle implied decimal field

2012-11-21 Thread santoshjoshi
Hi All, I have created some examples for Camel Bindy. these all have been checked in at: https://github.com/santoshjoshi/camel-bindy-example Regards Santosh Joshi -- View this message in context: http://camel.465427.n5.nabble.com/cam

Re: Camel Monitoring Tool

2012-11-21 Thread Lars-Erik Helander
I provided an example application using jolokia on the camel user list a couple of months ago. If you search the mailing list for "jolokia" you will probably find it. In case you want to get it and don't find it, let me know. Thanks Lars Skickat från min iPhone 21 nov 2012 kl. 12:36 skrev Clau

Re: Call constructor from route

2012-11-21 Thread JasonN
Thanks for your help. That's a shame though as you may not have control over the class to be able to add default constructor + other methods and even if you do there could be objections to designing classes around camel. I guess I could add another method somewhere to call the constructor or impl

Re: Camel Monitoring Tool

2012-11-21 Thread Claus Ibsen
On Wed, Nov 21, 2012 at 12:30 PM, wrote: > If you are using pure JMS suggest using > http://www.hermesjms.com/confluence/display/HJMS/Home which we use > extensively. For Quartz trigger, you can set log level in quartz.properties > file (along with things like number of threads) AFAIK... > Ye

RE: Camel Monitoring Tool

2012-11-21 Thread Ramkumar.Iyer
If you are using pure JMS suggest using http://www.hermesjms.com/confluence/display/HJMS/Home which we use extensively. For Quartz trigger, you can set log level in quartz.properties file (along with things like number of threads) AFAIK... -Original Message- From: tosheer [mailto:tosh..

Re: Call constructor from route

2012-11-21 Thread Claus Ibsen
On Wed, Nov 21, 2012 at 12:05 PM, JasonN wrote: > Hi, > > I am able to call a static method from a route but can someone please advise > on how to call a constructor? > > e.g.: > > >method="HelloBean(${body})"/> > > > Thanks! > Thats not supported. A constructor doesn't

Call constructor from route

2012-11-21 Thread JasonN
Hi, I am able to call a static method from a route but can someone please advise on how to call a constructor? e.g.: Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Call-constructor-from-route-tp5723059.html Sent from the Camel - Users mai

Re: Camel Monitoring Tool

2012-11-21 Thread Claus Ibsen
On Wed, Nov 21, 2012 at 7:31 AM, tosheer wrote: > Hi All, > > I have different set of requirement for monitoring, as we have route will > will always be running and has a timer/Quartz based trigger which goes off > after few seconds. Can you also please guide us how we can monitore this > timer/Qu

Re: CXF proxy for ws security

2012-11-21 Thread Jesper Nygårds
Great thanks, Daniel! That solved the problem. I have a hard time finding any documentation about CXF_MESSAGE mode. What is the difference between this and the PAYLOAD mode? Jesper On Tue, Nov 20, 2012 at 9:31 PM, Daniel Kulp wrote: > > With MESSAGE mode, camel-cxf pretty much keeps everythi

Re: Dynamic route ids with Spring DSL

2012-11-21 Thread Claus Ibsen
On Tue, Nov 20, 2012 at 9:23 PM, Henrique Viecili wrote: > I tried in many different ways to set a dynamic route id (see below), but > apparently the id receives the raw string as I checked with jconsole. The > log endpoint ids received the property value as expected > (some.namespace=NAMESPACE).

Re: aws-sqs returns exception 'The request must contain the parameter Attribute.Name'

2012-11-21 Thread Christian Müller
This is a known issue and already fixed for Camel 2.10.3 and 2.11.0: https://issues.apache.org/jira/browse/CAMEL-5782 The workaround is to provide an option like "defaultVisibilityTimeout" so that the queue update request to AWS contains at least one attribute. Sorry for the inconvinience... Bes

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-21 Thread sekaijin
Thank for all I'm running karaf pltaform like servicemix 4.0 I.E. karaf 2.2.2 and camel 2.8.1 and camel-jpa 2.8.1 define Apache ServiceMix :: Specs :: Java Persistence API 1.4 (1.8.0) not Apache Geronimo JSR-317 JPA 2.0 Spec API (1.1) I've defined a hermes-jpa features initialy for jpa jndi tran

Re: aws-sqs returns exception 'The request must contain the parameter Attribute.Name'

2012-11-21 Thread Willem jiang
Hi, It looks like there are some thing is wrong with request when the SqsComponent try to set the QueueAttributes on the client from the stack trance, Caused by: Status Code: 400, AWS Service: AmazonSQS, AWS Request ID: cd5d1220-0524-5cf8-aed7-5b061e896d5c, AWS Error Code: MissingParameter, AWS