Re: Scala DSL missing setProperty?

2013-09-21 Thread Willem jiang
Scala DSL is missing that part. I just fill a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-6776 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://j

Re: Custom object renders for simple expression language?

2013-09-21 Thread Jamie Archibald
Thanks. I've been using custom processors for a while however it adds a lot of unnecessary code which would be nice to have built in. Is it possible to submit feature requests or submit code that would provide this capability? Cheers On Saturday, September 21, 2013, Willem jiang wrote: > I'm

Re: Custom object renders for simple expression language?

2013-09-21 Thread Willem jiang
I'm afraid current Camel doesn't implement this feature. If you want to render the object as you want, I suggest you to write a customer process for your object. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)

Re: org.apache.cxf.binding.soap.SoapFault: Can't find the BindingOperationInfo with operation name

2013-09-21 Thread Willem jiang
I think you need to reset the operation name header with the back end service can used. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chines

Re: org.apache.cxf.binding.soap.SoapFault: Can't find the BindingOperationInfo with operation name

2013-09-21 Thread hutao1
Thank you for your reply. The latest configuration is as follows, but still the same error: Caused by: org.apache.cxf.binding.soap.SoapFault: Can't find the BindingOperationInfo with operation name {http://www.ibsplc.com/iloyal/member/authenticatemember/wsdl}authenticateMember. Please check the m

Custom object renders for simple expression language?

2013-09-21 Thread Jamie Archibald
I'm wondering if camel supports custom object renders (similar to log4j) when doing the simple expression language? Currently it appears it just calls toString() on the object for example. .log("Hello World ${body}"); Rather than calling ${body}.toString() I would like to have it call some exte

Scala DSL missing setProperty?

2013-09-21 Thread Dale King
Am I missing something? Scala DSL seems to be missing the equivalent of setProperty DSL to set property on exchange. -- Dale King

Re: Incorrect package name in Scala DSL documentation

2013-09-21 Thread Christian Müller
Thanks for reporting. I fixed it. Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html https://www.linkedin.com/

Incorrect package name in Scala DSL documentation

2013-09-21 Thread Dale King
The first sentence of Scala DSL getting started page talks about org.apache.camel.scala.builder.RouteBuilder, the actual fully qualified name is org.apache.camel.scala.dsl.builder.RouteBuilder (not the dsl in between scala and builder). -- Dale King

Will Camel throttling work in ActiveMQ HA configuration

2013-09-21 Thread apara
We have ActiveMQ setup in an HA configuration using a network of brokers. We need to throttle messages to an external consumer. I know Camel has throttling included, but will it work accurately inside of ActiveMQ in multi-broker configuration? Thanks. -- View this message in context: ht

Re: Socket programming and camel

2013-09-21 Thread Chad Beaulac
Look at unit tests for camel-mina2 component. They provide good examples. Chad Sent from my iPhone On Sep 20, 2013, at 3:20 PM, vjboston wrote: > Hi , > I am new to camel framework. I am looking into using Camel for request > response socket programming. > > Does anybody have a simple exampl

Re: tokenize + group + aggregator strategy?

2013-09-21 Thread Claus Ibsen
Hi Do like this .split().tokenize("\n", 100).aggregationStrategy(myStrategy) On Fri, Sep 20, 2013 at 11:08 AM, Tom Ellis wrote: > Hi > > Is it possible to do something like this: > > int myGroupSize = 100; > .split(body().tokenize("\n", myGroupSize), new myAggStrategy()) ? > > The above doesn't

RE: After camelContext shutdown, is any way to exit the Java main() method?

2013-09-21 Thread Paolo28
Hi, I´m not calling web service. In my case I had just file poller, splitter with streaming (line by line processing using Camel Bindy), then aggregator with parallelProcessing set true. Basically very simple flow. I wanted to see the threads using JVVM but the JVM connection attempt always resulte

Re: Questions on NotifyBuilder

2013-09-21 Thread Claus Ibsen
On Thu, Sep 19, 2013 at 1:03 PM, berhack wrote: > This is great for creating coarse grained expectations on routes, but I am > struggling with the documentation. > > Hoping the experts can help me answer the questions, based on the given > example: > > from(direct:hello).process().to(direct:foo) >

[ANNOUNCEMENT] Apache Camel 2.10.7 Released

2013-09-21 Thread Christian Mueller
The Camel community announces the immediate availability of the new patch release Camel 2.10.7. This bug fix release is issued after 2 months of intense efforts of the Camel 2.10.x maintenance branch and resolves 63 issues in total. The artifacts are published and ready for you to [download| http:

Re: Aggregator lock

2013-09-21 Thread Claus Ibsen
Hi Yeah the sending to the thread pool could potential happen outside the lock. I have logged a ticket https://issues.apache.org/jira/browse/CAMEL-6775 It does complicated it a bit in the logic as there is potential also timeout and recovery tasks that operate as well. On Wed, Sep 18, 2013 at 7:

Re: Possible Bug. Scala recipient list http turning %2B into plus

2013-09-21 Thread Claus Ibsen
Hi See this page, about using raw http://camel.apache.org/how-do-i-configure-endpoints.html On Fri, Sep 20, 2013 at 10:49 PM, Joseph Featherston wrote: > Hi all, > So I'm trying to hit solr through camel and in the url there needs to be > some pluses. Specifically to specify time facet gap "/HOU

Re: Is it possible to include XPath expression in simple expression?

2013-09-21 Thread Claus Ibsen
Hi Hold your horses ... Camels. It can get too confusing and complex syntax if you can inline any other kind of languages in the simple language. Syntax parsers and whatnot cannot validate and parse the other languages syntax etc. The name of the language is simple, so lets try to keep it that wa

Re: cast of property value for blueprint osgi implementation

2013-09-21 Thread Claus Ibsen
Hi Yeah I would assume that too with standard blueprint CM could do that. Just to be sure the value of aiextractor.extractall is that either true or false? eg so the text is convertable to a boolean type? On Fri, Sep 20, 2013 at 3:39 PM, cbuxbaum wrote: > Hi Claus, > > Yes, sorry, I ommitted t

Re: missing output on route definition

2013-09-21 Thread Claus Ibsen
Hi Yeah always try with newer releases. There is also 2.11.1, and 2.11.2 on the way etc. eg see the bullets on this page for suggestions what to do http://camel.apache.org/support On Sat, Sep 21, 2013 at 12:16 AM, javamonkey79 wrote: > I am using 2.11.0. I can try the newly released 2.12.0 if y

Re: Socket Programming and Camel

2013-09-21 Thread vjboston
Do you have a sample example of this ? I need to do socket programming using request response methdology. -- View this message in context: http://camel.465427.n5.nabble.com/Socket-Programming-and-Camel-tp5736299p5739906.html Sent from the Camel - Users mailing list archive at Nabble.com.

Socket programming and camel

2013-09-21 Thread vjboston
Hi , I am new to camel framework. I am looking into using Camel for request response socket programming. Does anybody have a simple example for this scenario ? It will be really appreciated. -- View this message in context: http://camel.465427.n5.nabble.com/Socket-programming-and-camel-tp5739

Re: Email Attachments - Adding to Exchange Attachments

2013-09-21 Thread Bharath
Hi Regi, What version of Fuse ESB you are using?? Cheers!!! Bharath.R -- View this message in context: http://camel.465427.n5.nabble.com/Email-Attachments-Adding-to-Exchange-Attachments-tp5739863p5739868.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: [ConsumerTemplate] CamelLocks deleted before file is completely processed

2013-09-21 Thread Claus Ibsen
Hi Yes create the template once and reuse it. See this page it also applies to consumer template http://camel.apache.org/why-does-camel-use-too-many-threads-with-producertemplate.html On Fri, Sep 20, 2013 at 1:55 PM, Aida wrote: > Hi, > > I'm using the consumer template for reading files, and I'

Re: Email Attachments - Adding to Exchange Attachments

2013-09-21 Thread Bharath
Hi Regi, "Attachments are not support by all Camel components The Attachments API is based on the Java Activation Framework and is generally only used by the Mail API. Since many of the other Camel components do not support attachments, the attachments could potentially be lost as they

Email Attachments - Adding to Exchange Attachments

2013-09-21 Thread contactreji
Hi I am trying to send email with a attachment file.. I am using Spring DSL The code which I have made for sending email is as follows * reji.math...@wipro.com om_integration_lower...@outotec.com no_re...@outotec.com

Re: Email Attachments - Adding to Exchange Attachments

2013-09-21 Thread contactreji
Hey Bharath Thanks a lot.. I get following exception * nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="=_Part_17_708704654.1379674347139"] org.apache.camel.RuntimeCamelException: javax.mail.Messagi