Re: F5 load balancer w/ SSL M/A termination in front of Camel

2015-01-29 Thread Claus Ibsen
Hi If the custom http header is not a soap header, then you would need to dig a bit to access it. I think you can do it using the spring api WebServiceMessage ws = exchange.getIn(SpringWebserviceMessage.class).getWebServiceMessage(); And then see what WebServiceMessage has in the api to access

RE: Input directory with multiple file consumers

2015-01-29 Thread ravi.4indra
I ran into a similar issue and exploring options for this. does reducing the delay between polls to very low value (<10) increases with file consumption on both the nodes? -- View this message in context: http://camel.465427.n5.nabble.com/Input-directory-with-multiple-file-consumers-tp5713788p5

Camel JPA/JTA/Jboss - You cannot commit with autocommit set

2015-01-29 Thread mattmadhavan
Hello, I have a simple route with Hibernate/JPA. The application is running inside the JBoss and using the JTA Transaction manager. I keep getting the error when the route executes. I didn't face this issue when I ran the same out side of JBoss but with Bitronix JTA. I am not even sure if its a Ca

Re: http caller's IP address

2015-01-29 Thread Tim Dudgeon
Thanks. For reference this is how it can be done (for Jetty at least, but probs most others too) using a simple expression: simple("${header.CamelHttpServletRequest?.remoteAddr}") Tim On 29/01/2015 16:56, Claus Ibsen wrote: Hi Depending on which component you use, you can get access to its n

Re: http caller's IP address

2015-01-29 Thread Claus Ibsen
Hi Depending on which component you use, you can get access to its native type, such as HttpRequest, and use that to get the caller ip, just as you would have to do if you use the components without rest-dsl. On Thu, Jan 29, 2015 at 5:41 PM, Tim Dudgeon wrote: > When using REST DSL with jetty/re

http caller's IP address

2015-01-29 Thread Tim Dudgeon
When using REST DSL with jetty/restlet/etc is it possible to know the caller's IP address? I can't see any header property for this. Tim

Re: Possibility to track (monitor) inbound/outbound messages (request/response)

2015-01-29 Thread hanusto
Thanks Willem, I did it via onComplete and onFailure as implementation of Processor, Synchronization. Tomas -- View this message in context: http://camel.465427.n5.nabble.com/Possibility-to-track-monitor-inbound-outbound-messages-request-response-tp5761583p5762237.html Sent from the Camel - Us

F5 load balancer w/ SSL M/A termination in front of Camel

2015-01-29 Thread clinton
We are planning on using F5 LTM to terminate SSL sessions that are mutually authenticated. Our receiving endpoints are using the Spring-ws component. The F5 is going to put the identity info from the caller's certificate into a custom HTTP header before forwarding. How can I get access to this

Re: HTTP consumer - Terminology confusing

2015-01-29 Thread muell01
thank you. Glad to know the config is good. The polling consumer is what we intended. camel 2.12/activemq 5.9 (we love the Hawtio), war file deployed onto EAP6.3 The original reason for this post is because the client will stall w/o warnings. No polling activity. no warnings or errors. Sometimes

Exposing request/response Web Service that would interact with legacy system

2015-01-29 Thread saiya-jin001
Hi, as title says, I will have to expose concurrent WS, that would expose request/response behavior to our legacy system. This legacy system has a JMS-like access API, meaning when request is inserted into system, communication ends (ie there is no response to this request other than return code)

Re: skipDuplicate/removeOnFailure flags for file2 component

2015-01-29 Thread Claus Ibsen
Hi The built in idempotent is intended for regular use cases. If you need more configuration and whatnot then the EIP pattern is the way to go. On Thu, Jan 29, 2015 at 1:11 PM, David Karlsen wrote: > The docs on http://camel.apache.org/file2.html says it contains support > for idempotent-consume

skipDuplicate/removeOnFailure flags for file2 component

2015-01-29 Thread David Karlsen
The docs on http://camel.apache.org/file2.html says it contains support for idempotent-consumer built directly into the component - but it does not expose the flags skipDuplicate/removeOnFailure which the idempotent consumer does: http://camel.apache.org/idempotent-consumer.html is there any chanc

Re: mvn clean install -Pvalidate

2015-01-29 Thread Willem Jiang
I just checked the "http://scriptengines.googlecode.com/svn/m2-repo/“, it can be accessed now. -- 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 January 21, 2015 a

Re: Issue setting property on the object which in the exchange body

2015-01-29 Thread Willem Jiang
You can use the bean method return the message body just like this public class Bar {       @Handler     public Foo doSomething(@Header("age")Integer age, @Body Foo foo) {         foo.setAge(age); return foo;    } from("activemq:someQueue").   bean(Bar.class); You can find more informati

Re: question about mod sec parameters

2015-01-29 Thread Willem Jiang
I don’t think this question is related Apache Camel. -- 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 January 16, 2015 at 8:41:35 PM, sterngre (stern...@gmail.com)

Re: Spring Camel Quartz cluster configuration

2015-01-29 Thread Willem Jiang
Hi, org.springframework.scheduling.quartz.SchedulerFactoryBean is a FactoryBean, you can get the scheduler instance by calling the getObject() method. you need to put the camel context instance into the schedulerContextAsMap. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: htt

Re: Camel 2.14.2 version

2015-01-29 Thread Willem Jiang
Camel 2.14.2 will be release at the end of Q1 2015. -- 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 January 20, 2015 at 6:55:41 AM, Kranti Parisa (kranti.par...@g

Re: CamelContextLifecycle causes ClassNotFoundException when compiled with java 1.7

2015-01-29 Thread Willem Jiang
Can you check if you build source target is java 1.6? Camel starts to support Java 1.7 since camel-2.14.x. You can find more information here[1] [1]http://camel.apache.org/building.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) htt

Re: Calling REST service without using spring

2015-01-29 Thread Willem Jiang
Hi, I don’t think you specify the right CamelContextLifecycle value. It should be “org.apache.camel.example.servletlistener.MyLifecycle" instead of “main.java.org.apache.camel.example.servletlistener.MyLifecycle” The server should be accessed from "http://localhost:8080/CONTEXT_PATH/camel/getPa