Re: CDI and Camel

2012-07-04 Thread Charles Moulliard
This project has inspired the creation of camel-cdi project and it will be certainly used in camel 2.11 to improve what we have. - Apache Committer / Sr. Pr. Consultant at FuseSource.com Email: [hidden email] Twitter : @cmoulliard, @fusenews Blog : http://cmoulliard.blogspot.com -- View this m

Re: CDI and Camel

2012-07-04 Thread Charles Moulliard
Hi Bruno, Link has changed (https://github.com/cmoulliard/cdi-camel-example/). Thx to provide me the info, I have updated the project in GitHub. By the way, I'm currently refactoring this GitHub project which could be part in the future of camel project to provide examples + test cases about dep

Re: CDI and Camel

2012-07-04 Thread Romain Manni-Bucau
Hi it seems camelpe manges a single context. I pushed some idea to manage multiple ones here https://github.com/rmannibucau/camel-cdi-extension - Romain Le 5 juil. 2012 07:23, "Bruno Borges" a écrit : > I think this project has a more complete implementation of an integration > between Camel and

Re: any easy way to log the whole message?

2012-07-04 Thread Claus Ibsen
Hi Here is some links you can read as well. You can use the log component http://camel.apache.org/log Or use an interceptor and send to a log endpoint http://camel.apache.org/intercept Or something a like the tracer etc http://camel.apache.org/tracer Or the event notification (a bit more coars

any easy way to log the whole message?

2012-07-04 Thread hairinwind
#1 I want to see the whole message in the log file or console, including headers, attachments and body. #2 I don't want the log pollute my routes, like this from(..).log(...).bean(...).log(...).to(...) Log is not the business logic of my routes. I already read the section of logEIP from camel w

Re: Basic 'camel-test' unit test dependent on Spring

2012-07-04 Thread pmcb55
Hi Claus, Yep, I just upgraded to Camel 2.10.0 and it works fine - thanks so much for the speedy (and accurate!) response, very much appreciated! Pat. -- View this message in context: http://camel.465427.n5.nabble.com/Basic-camel-test-unit-test-dependent-on-Spring-tp5715495p5715501.html Sent f

Re: CDI and Camel

2012-07-04 Thread Bruno Borges
I think this project has a more complete implementation of an integration between Camel and CDI: https://github.com/obergner/camelpe *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Thu, Jul 5, 2012 at 2:19 AM, Bruno Borges wrote: > Guys, a few things about the new Camel-CDI component:

Re: Camel 2.10.0 and Bindy/CSV

2012-07-04 Thread Charles Moulliard
There is no bug. See my last response. Nevertheless, I will add unit test (CAMEL-5421) - Apache Committer / Sr. Pr. Consultant at FuseSource.com Email: [hidden email] Twitter : @cmoulliard, @fusenews Blog : http://cmoulliard.blogspot.com -- View this message in context: http://camel.465427.n5

Re: Can I split attachments?

2012-07-04 Thread hairinwind
Does camel provide any easy way to move the file attachment to the message body? Any example? Or I have to deal with the api like getExhange, getIn, getAttachments... which I try not to do. Thanks a lot! -- View this message in context: http://camel.465427.n5.nabble.com/Can-I-split-attachments-

Re: Camel 2.10.0 and Bindy/CSV

2012-07-04 Thread Charles Moulliard
Reynald, When you would like to use directly the Class instead of providing the package to be used the syntax is --> bindy(BindyType.Csv, services.billing.class). So the quotes should be removed and class added at the end. Regards, - Apache Committer / Sr. Pr. Consultant at FuseSource.

Re: Basic 'camel-test' unit test dependent on Spring

2012-07-04 Thread Claus Ibsen
Hi camel-test requires Spring JAR in Camel 2.9 or older. Its in Camel 2.10 onwards we have separated that into a new camel-test-spring component. On Wed, Jul 4, 2012 at 6:17 PM, pmcb55 wrote: > I've just started using the camel testing framework, but I get a > 'java.lang.NoClassDefFoundError:

Re: Can I split attachments?

2012-07-04 Thread Claus Ibsen
On Wed, Jul 4, 2012 at 6:20 PM, hairinwind wrote: > Yes, I already read that section before I posted my question. The problem is > that after splitting, the attachment is still in attachment of the message. > My attachment in email is csv file and I want to unmarshall them, like this > > from(emai

Re: Can I split attachments?

2012-07-04 Thread hairinwind
Yes, I already read that section before I posted my question. The problem is that after splitting, the attachment is still in attachment of the message. My attachment in email is csv file and I want to unmarshall them, like this from(email address).split(new SplitAttachmentsExpression()).unmarsha

Basic 'camel-test' unit test dependent on Spring

2012-07-04 Thread pmcb55
I've just started using the camel testing framework, but I get a 'java.lang.NoClassDefFoundError: org/apache/camel/spring/CamelBeanPostProcessor' when I run my simple unit test. I'm using 'camel-test', as I don't yet have any dependency on Spring, but it seems to depend on Spring regardless. See th

Camel SMPP issue - alphabet option/data_coding issue (2.10.0)

2012-07-04 Thread markbdaniels
Hi, Apologies if this is not the correct place for my question. I am new to both SMPP and Camel. I am experiencing an issue with setting the data_coding variable in my submit_sm. Camel allows me to set this variable by using the alphabet option in the camel URI. The allowed values are -1, 0, 4, 8