Re: interceptStrategies and wiretap

2013-04-05 Thread samslara
That route wasn't good. Something more like http://localhost:8080/something"; /> -- View this message in context: http://camel.465427.n5.nabble.com/interceptStrategies-and-wiretap-tp5730432p5730434.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: interceptStrategies and wiretap

2013-04-05 Thread samslara
Sorry, forgot to mention that I'm running on ServiceMix 4.3.0 and Camel 2.6.0 using blueprint. -- View this message in context: http://camel.465427.n5.nabble.com/interceptStrategies-and-wiretap-tp5730432p5730433.html Sent from the Camel - Users mailing list archive at Nabble.com.

interceptStrategies and wiretap

2013-04-05 Thread samslara
Hello, I've been playing around with interceptStrategies and recently have been running into problems with wiretaps. I'm trying to run some logic within the same thread as the wiretap's referenced processor (it's a custom defined component). The logic is to write into the slf4j MDC, which is th

Re: npe when receiving a soapfault

2013-04-05 Thread Nico Mommaerts
Was not sure this was a bug or my fault. Logged one: https://issues.apache.org/jira/browse/CAMEL-6243 On Fri, Apr 5, 2013 at 9:03 PM, Christian Müller < christian.muel...@gmail.com> wrote: > Did you already created a JIRA? > > Sent from a mobile device > Am 05.04.2013 12:54 schrieb "Nico Mommaert

Re: Dynamic File Location

2013-04-05 Thread PhilBurress
Christian Mueller wrote > Will this work for you [1]? > > [1] http://camel.apache.org/using-propertyplaceholder.html > > Best, > Christian Unfortunately, I don't think so. Unless there is a way to register a bean value as a property? -- View this message in context: http://camel.465427.n5.na

Re: npe when receiving a soapfault

2013-04-05 Thread Christian Müller
Did you already created a JIRA? Sent from a mobile device Am 05.04.2013 12:54 schrieb "Nico Mommaerts" : > I switched to PAYLOAD format to avoid this exception. I have the feeling > no one uses CXF_MESSAGE and it isn't really implemented completely yet > > On Thu, Apr 4, 2013 at 5:35 PM, Nico Mo

Re: Dynamic File Location

2013-04-05 Thread Christian Müller
Will this work for you [1]? [1] http://camel.apache.org/using-propertyplaceholder.html Best, Christian On Fri, Apr 5, 2013 at 7:14 PM, PhilBurress wrote: > Using the file component, the directory location varies from environment to > environment. We are setting the location as a GlobalNamingR

Dynamic File Location

2013-04-05 Thread PhilBurress
Using the file component, the directory location varies from environment to environment. We are setting the location as a GlobalNamingResource in the tomcat configuration and using jndi to look it up... I've tried all of the following but can't get it to work: 1) 2) 3) Any ideas on how to get

Re: need help with error handling

2013-04-05 Thread Nico Mommaerts
This is..frustrating Putting the redeliveryDelay at 5000 solves the Missing operation fault, but I'm talking to a mock soapui service which always return the same response, how can the redeliveryDelay influence this?? To recap: I got redelivery working if I put the loglevel of org.apache.camel.pr

Re: Changing the jetty:http Content-Type request header

2013-04-05 Thread Chris Geer
On Fri, Apr 5, 2013 at 7:52 AM, William King wrote: > ok, so if camel-jetty accepts the camel-http component options, hopefully a > > def endpointUri = "jetty:http://?**Exchange.CONTENT_TYPE=** > application/soap+xml > > inside an akka producer actor should do the trick. I'll give this a whirl >

Re: How do I avoid using the dead letter queue using Camel?

2013-04-05 Thread Christian Müller
@Michael: You should subscribe to Nabble before you post a question. Otherwise the mail is not forwarded to our mailing list and not seen by many people, like me. Best, Christian On Fri, Apr 5, 2013 at 11:11 AM, valerian.merkling < valerian.merkl...@capgemini.com> wrote: > Hi ! > > First : what

Re: Camel Route stops processing abruptly

2013-04-05 Thread Christian Ohr
The rae-iti20 endpoint is built on top of Mina and implements an IHE ATNA record audit event actor, right? Does your application still accept ATNA audits but don't process them to the end? Or does your route come to an halt somewhere else? Like, is the BEFORE_RFC5424_QUEUE route entered, or does i

Re: need help with error handling

2013-04-05 Thread Nico Mommaerts
log4j.logger.org.apache.camel.processor.SendProcessor=DEBUG => some redelivery seems to be happening but still getting errors: org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: http://schemas.xmlsoap.org/soap/envelope/";>

Re: Changing the jetty:http Content-Type request header

2013-04-05 Thread William King
ok, so if camel-jetty accepts the camel-http component options, hopefully a def endpointUri = "jetty:http://?Exchange.CONTENT_TYPE=application/soap+xml inside an akka producer actor should do the trick. I'll give this a whirl when I can find a moment and see what happens. thanks again Chri

Re: How do I avoid using the dead letter queue using Camel?

2013-04-05 Thread valerian.merkling
Maybe you can configure your endpoints behavior. kiwi.mec wrote > What should happen is the producer thread should cleanly give up waiting > and hand the waiting game over to a janitor thread to process when the > message finally arrives If your producer just send the message and does not listen

Re: Callback after startup from org.apache.camel.main.Main afterStart()

2013-04-05 Thread Claus Ibsen
Hi Yeah we could add some methods to the Main class you can override to have callbacks after start | before stop etc. But you can also just use the event notifier api in Camel for that. On Wed, Apr 3, 2013 at 4:17 PM, Andrew Bailey wrote: > I have a use case, where I require a fast startup tim

Re: camel-elasticsearch option to connect to remote cluster

2013-04-05 Thread Claus Ibsen
Hi Yeah feel free to dive into the source code of camel-elastichsearch and see if anything is missing. We love contributions http://camel.apache.org/contributing.html On Wed, Apr 3, 2013 at 11:58 AM, barthorre wrote: > Hi there, > > I was wondering if there is an option (or should be implemente

Re: need help with error handling

2013-04-05 Thread Nico Mommaerts
I'm getting nearer: from("cxf:bean:brokerOrderLimit?dataFormat=PAYLOAD") .onException(SoapFault.class) .onWhen(thalerLoginExceptionPredicate) .handled(true) .maximumRedeliveries(3) .redeliveryDelay(100) .retryAttemptedLogLevel(LoggingLevel.WARN) .onRedelivery(new Processor() { @Override public

Re: Krati Component isn't preserving headers

2013-04-05 Thread Claus Ibsen
Hi Yeah thats a bug, I have logged a ticket to fix that https://issues.apache.org/jira/browse/CAMEL-6242 I am afraid you would need to copy the headers to the exchange properties, and restore them afterwards. To preserve them. Or patch the camel-krati with the fix and use that code, until you can

Re: Camel Route stops processing abruptly

2013-04-05 Thread Claus Ibsen
What Camel component do you use for that endpoint? If that stops listening then that's where you gotta focus on. On Fri, Apr 5, 2013 at 7:11 AM, Hema T wrote: > The endpoint is defined to receive specific protocol messages: > > public static final String RFC5424_TLS_AUTH_MUST_ENDPOINT = > "rae-i

need help with error handling

2013-04-05 Thread Nico Mommaerts
Hey, I've been reading the chapter on Error handling over and over but I'm still failing miserably.. My scenario: a cxf proxy route which modifies the soapheaders, I want all soapfaults to be returned as-is to the caller, except when the soapfault contains a certain string. In that case I want to

Re: How do I avoid using the dead letter queue using Camel?

2013-04-05 Thread kiwi.mec
Thank you for your reply. The issue with exceptions and the DLQ is the same, they are both exception handling tools but the late delivery event in this case (and several others) is naturally normal behavior. Its like making your child's lunch and finding they've already gone to school so you file

Re: Logging make my body empty...

2013-04-05 Thread Claus Ibsen
And we got this FAQ as well to point users in that direction too http://camel.apache.org/why-is-my-message-body-empty.html On Fri, Apr 5, 2013 at 12:57 PM, Nico Mommaerts wrote: > Read this: > http://camel.apache.org/stream-caching.html > > That should help! > > On Fri, Apr 5, 2013 at 10:58 AM, v

Re: UTF-8 and Files Created by Camel

2013-04-05 Thread luc
Hi, I am also having some problems with unicode characters, more specifically extended unicode characters, not being processed as I expected it to by the file component. The only way I can get it working is by explicitly converting to string before routing to the file component. Tests with a simpl

Re: Logging make my body empty...

2013-04-05 Thread Nico Mommaerts
Read this: http://camel.apache.org/stream-caching.html That should help! On Fri, Apr 5, 2013 at 10:58 AM, valerian.merkling < valerian.merkl...@capgemini.com> wrote: > Hi ! > > I'm trying to make a WS proxy with cxf, and there is somethings i do not > understand. > > This route is ok, and i can

Re: npe when receiving a soapfault

2013-04-05 Thread Nico Mommaerts
I switched to PAYLOAD format to avoid this exception. I have the feeling no one uses CXF_MESSAGE and it isn't really implemented completely yet On Thu, Apr 4, 2013 at 5:35 PM, Nico Mommaerts wrote: > Hey, > > I'm using Camel (2.10.3) to proxy a webservice (and insert some custom > headers): > >

Re: How do I avoid using the dead letter queue using Camel?

2013-04-05 Thread valerian.merkling
Hi ! First : what's wrong with the DLQ ? I don't really understand what is your goal. Put it's maximumRedeliveries to -1 and it will always redeliver the message. Next, to prevent your message to go to the DLQ, you can catch your timeout exception and handle it. See http://camel.apache.org/exce

Logging make my body empty...

2013-04-05 Thread valerian.merkling
Hi ! I'm trying to make a WS proxy with cxf, and there is somethings i do not understand. This route is ok, and i can see my soap message with wireshark, everythings is fine. http://10.67.119.44:9090/metierTest?throwExceptionOnFailure=false"/>

Re: CSV component and Mac line endings (carriage return only)

2013-04-05 Thread Babak Vahdat
I think what Henryk has explained there in that thread is about *his own code* he intends to donate to Apache Camel in the future. Babak mdo wrote > Hey Babak, > > thanks for your comprehensive answer! > > I tried Bindy before, but for my use case I preferred the CSV component > because it del

JPA: Transaction marked as rollbackOnly

2013-04-05 Thread martin11
Hello, I'm using latest camel 2.10.4 and I'm trying to learn JPA component. I want to use database table as a logical queue (remove detached row from table) There is my camel context: JPA bean configuration: