camel-netty component sping DSL working example

2014-06-04 Thread bharadwaj
Hi Users, How to use camel-netty component for telnet connection? -- View this message in context: http://camel.465427.n5.nabble.com/camel-netty-component-sping-DSL-working-example-tp5751867.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CustomSoapFault Problem

2014-06-04 Thread nono
Hi Willem, I also tried below maven plugin, it does not help, seem problem. do you know which maven plugin could help? Thanks! plugin groupIdorg.apache.cxf/groupId artifactIdcxf-codegen-plugin/artifactId version${cxf.version}/version executions execution

Re: Camel Aggregator retains the old exchange in case of exception

2014-06-04 Thread Claus Ibsen
Hi You can likely handle that in your custom aggregator, so when an exception was thrown, then return an empty aggregated value, or mark the exchange as failed so when it restarts later then its either empty or you know it failed as you marked it. On Tue, Jun 3, 2014 at 7:56 PM,

Re: camel-jclouds parameter operation ignored

2014-06-04 Thread Claus Ibsen
Hi Thanks. I logged a ticket to not forget about this https://issues.apache.org/jira/browse/CAMEL-7477 On Fri, May 2, 2014 at 3:52 PM, Christoph Schmid service...@s-c-h.de wrote: Ok, I found the problem. camel-jclouds is checking inf the parameter CamelJcloudsOperation is 'CamelJcloudsGet',

Re: CustomSoapFault Problem

2014-06-04 Thread Willem Jiang
This maven configuration should work. Can you double check the wsdl? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On June 4, 2014 at 3:47:04 PM, nono

Re: Transacted Apache Camel Route with CDI in AS7 ?

2014-06-04 Thread andersbohn
Ok, I've fiddled and got something running - not fully tested yet :) Any comments are appreciated. If it's sound, could this be added to camel-cdi ? Or at least documented or added as an example ?@Named(transactionManager)public class CdiJtaTransactionManager extends JtaTransactionManager {

Re: Transacted Apache Camel Route with CDI in AS7 ?

2014-06-04 Thread andersbohn
[[Sry about the badly formatted post - hope this is better]] Ok, I've fiddled and got something running - not fully tested yet :) Any comments are appreciated. If it's sound, could this be added to camel-cdi ? Or at least documented og added as an example ? @Named(transactionManager) public

Re: Article Java Magazin July 2014 on Apache Integration stack

2014-06-04 Thread Raul Kripalani
If you'd like a complimentary copy of the article, feel free to contact me directly. *Raúl Kripalani* Apache Camel PMC Member Committer | Enterprise Architect, Open Source Integration specialist http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net |

Re: reading and setting custom soap headers without cxf

2014-06-04 Thread james555
No one ? ok, so there's no way to set soap header by using org.apache.camel.dataformat.soap.SoapJaxbDataFormat ? -- View this message in context: http://camel.465427.n5.nabble.com/reading-and-setting-custom-soap-headers-without-cxf-tp5751608p5751876.html Sent from the Camel - Users mailing

Re: reading and setting custom soap headers without cxf

2014-06-04 Thread Willem Jiang
I just checked the code of camel-soap, it doesn’t read the soap header from the message header “org.apache.camel.dataformat.soap.unmarshalled_header_list”.   So you cannot set the customer soap header there. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog:

Re: Transacted Apache Camel Route with CDI in AS7 ?

2014-06-04 Thread Willem Jiang
Hi, Camel route transaction support is based on Spring transaction.  You can enable the transaction support in camel-jms component, but I don’t think the camel route can support transaction without using spring. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog:

Re: Best Efforts 1 PC pattern - from MQ to DB

2014-06-04 Thread dancsi
There is just one more thing I don't see clearly. I found quite contradicting information about the use of pooled/cached connection factories. First, at http://tmielke.blogspot.com/2012/03/camel-jms-with-transactions-lessons.html I found that it's recommended to use pooled connection factory with

Missing Important Use Case in Camel - Enrich current exchange using Consumer

2014-06-04 Thread kraythe .
I am working on some routes which use servlet: endpoints to create a REST api for a Ajax UI application. While working on it I am constantly plagued by the thought that there is a missing use case, a massive one in camel. Suppose you want to serve a file to a user. They send you some parameter

Re: Best Efforts 1 PC pattern - from MQ to DB

2014-06-04 Thread Jeff Bischoff
I'm trying to figure out the same thing (although I'm working with AMQ, not IBM). Queues seem pretty straightforward, but the topics seem very sensitive to the caching/transaction settings. Don't know the right answer, but interested to know. JB On 6/4/14 10:24 AM, dancsi

Re: Pls Help - Wiretap Pattern

2014-06-04 Thread kraythe .
Why would wire taps be dependent on order? I think you may be trying to use wiretap for the wrong use case. Wiretaps make a copy of the exchange and then send that asynchronously to the endpoint. They are used for listening in on exchanges not ordered firing. *Robert Simmons Jr. MSc. - Lead Java

Re: How could I post a Map to my restful api by camel?

2014-06-04 Thread kraythe .
All params passed in a HTTP Query string are converted to headers in the exchange. And of course the actual URL the user used would be available in a header as well. So you don't even need to go to the extent you have here. Most of the time you are actually trying to remove headers or transform

Re: Transacted Apache Camel Route with CDI in AS7 ?

2014-06-04 Thread kraythe .
public static JtaTransactionManager configureJTATxnMgr(final JndiRegistry registry) { if (null == registry) throw new NullPointerException(registry); // -- Set Transaction manager because we will be using transacted(); note that this will find the correct one on the host platform.

Re: I found a bug

2014-06-04 Thread kraythe .
To be clear the third route is superfluous to your argument. Your argument is that auto-generated route IDs can use the same route ID as an explicit route ID set to be the same as the auto-generated one. You could propose the route builder core check if a route id is used before generating a new

Re: I found a bug

2014-06-04 Thread Minh Tran
What would be cool is if camel provides a way for users to determine the names of those routes. Like the NamingStrategy in Hibernate. That way we can override the standard naming of routes. I'd like for something like if the route begins with jms then I would name it jmsRoute1, if it starts

AdviceWithRouteBuilder.weaveById() creates duplicated endpoint

2014-06-04 Thread João Rodrigues
I've noticed the weaveById() creates a duplicated endpoint if there's a choice in my camel route. I'm running camel 2.12.3 with java 1.7.0_55. I've built a test case to demonstrate this issue: git clone https://github.com/joaocenoura/sandbox.git mvn clean package -f sandbox/camel-weaving/pom.xml

Re: Missing Important Use Case in Camel - Enrich current exchange using Consumer

2014-06-04 Thread Henrique Viecili
I faced the same issue in similar scenarios which forced me to use Claim Check in the aggregation strategy. I cannot recall exactly the reason, but if I'm not wrong a while ago Claus commented about this limitation here in the mailing list. Anyway, it would be a great improvement. Regards,

Re: Camel JCR examples?

2014-06-04 Thread Gregor Zurowski
Hi Vivek: from (jcr://admin:admin@repository/default/b).setHeader(JcrConstants.JCR_OPERATION, constant(JcrConstants.JCR_GET_BY_ID)) .setBody(constant(modeshape_logo.jpg)).to(stream:out); As described in my previous post, the current camel-jcr consumer implements an event

Re: I found a bug

2014-06-04 Thread Claus Ibsen
On Thu, Jun 5, 2014 at 12:54 AM, Minh Tran darth.minhs...@gmail.com wrote: What would be cool is if camel provides a way for users to determine the names of those routes. Like the NamingStrategy in Hibernate. That way we can override the standard naming of routes. I'd like for something like

Re: Missing Important Use Case in Camel - Enrich current exchange using Consumer

2014-06-04 Thread Claus Ibsen
On Thu, Jun 5, 2014 at 2:06 AM, Henrique Viecili viec...@gmail.com wrote: I faced the same issue in similar scenarios which forced me to use Claim Check in the aggregation strategy. I cannot recall exactly the reason, but if I'm not wrong a while ago Claus commented about this limitation here