Re: Stream Cache / spool file deletion before aggregation in Multicast, involving huge data

2014-09-08 Thread lakshmi.prashant
Hi Claus, The problem can happen with multicast, even if there is no aggregation strategy. If in the last branch exchange of multicast, stream caching happens (and also clean up of file on completion of branch), then if the next step (processor) after multicast tries to read the data from the

Propagate SoapFault with simple Camel proxy

2014-09-08 Thread miguelfdez
Hi! I'm trying to create a simple WS proxy using Switchyard 1.1 with Camel: -- PromotedService -- Camel -- ProxifiedService With the current configuration I'm able to send and recieve messages without any problem. However, when the ProxifiedService throws a SoapFault it is not propagated to the

Re: Stream Cache / spool file deletion before aggregation in Multicast, involving huge data

2014-09-08 Thread Franz Paul Forsthofer
Hello, I have a very simple example which shows that the problem does not only occur for MultiCast. The problem always occurs when in a sub-route the message body is streamed via CachedOutputStream to the file system and the cached file is deleted at the end of the soub-route, although the

Babel: new DSL for Camel

2014-09-08 Thread Babel
Dear all, We have recently open sourced Babel, a new DSL for Camel at http://crossing-tech.github.io/babel . Its goal is to provide more type safety as well as conciseness to your route definition. The API is written in Scala and in a manner which makes it readable for Java developers. You may

Idempotent consumer, removeOnFailure=true and exception handling

2014-09-08 Thread Chris Melikian
Hi, So i'm using Camel 2.13.1 and the JDBC Idempotent Repository and I'd like to use the removeOnFailure =true option to be able to replay the transaction on failure. My question is whether implementing an onException clause which handles an exception would stop the removeOnFailure option from

Dealing with large messages

2014-09-08 Thread moorsel
When I create a restfull service using camel how should I deal with large reply messages. Can the messages be streamed somehow to the calling client and if sohow should I do this? -- View this message in context: http://camel.465427.n5.nabble.com/Dealing-with-large-messages-tp5756199.html Sent

Questions about CXF component

2014-09-08 Thread apache999
Hi, I am trying to connect to a WCF .NET webservice(wshttpbinding) via our proxy server. I had a few basic questions regarding CXF components: 1. Can CXF be run in standalone mode? No tomcat required? 2. Are the WS-* specs supported (such as Security, SecurityPolicy) or do I need to include

Re: Async reques/response

2014-09-08 Thread Mohit Anchlia
I started implementing the above but have few questions: 1) I am using activemq connection factory. How does camel know which broker and url to use to create activemq connection factory. 2) How can I set replyTo queue name as I don't want camel to create new temp queue for every request. On

Camel RabbitMQ acknowledges event though autoAck is set to false and there is an exception in the route

2014-09-08 Thread blr_developer
Camel RabbitMQ component acknowledges the message even though the autoAck is set to false and there is an exception in the route. I don't know if I am doing anything wrong. My guess is that the error could be in the RabbitMQConsumer class. try {

Maven camel example - async request/reply

2014-09-08 Thread Mohit Anchlia
I have examples project inside of apache camel setup in the eclipse. I am trying to see if there are any examples of async request/reply pattern in that list?

Endpoint URI when using replyToHeader=Exclusive

2014-09-08 Thread Mohit Anchlia
When using replyTo header as Exclusive in queue endpoint is it also necessary to specify replyTo or does Camel automatically assigns one per producer?

Camel Mybatis 2.13.1 BATCH of 10,000 records

2014-09-08 Thread sandp
Hi, I ran into an issue where I was trying to insert a BATCH of roughly 3500 records into an Oracle 11g table of 13 columns from a CSV file using camel-bindy and camel-mybatis. The BATCH was generating huge trace files on the database sever due to ORA-4031 errors. The SQL statement running in

Re: HTTP Basic Authentication

2014-09-08 Thread sayed_india
Hello, Pls find below my query of CXF-RS with Basic authentication: public void configure() throws Exception { System.out.println(inside route); MapString, Object properties = new HashMapString, Object(); AuthorizationPolicy authPolicy = new

Re: Route Camel : Pass variables in a SQL query

2014-09-08 Thread sayed_india
Hello, I tried the below code and able to print the id, but not able to get the required query. Please correct the code: when simple${header.operationName} == 'getCompany'/simple setHeader headerName='id' simple$simple{body}/simple /setHeader log

Re: Camel RabbitMQ acknowledges event though autoAck is set to false and there is an exception in the route

2014-09-08 Thread Claus Ibsen
Hi Yeah you are right I am fixing this now. On Mon, Sep 8, 2014 at 8:35 PM, blr_developer sridhar2...@gmail.com wrote: Camel RabbitMQ component acknowledges the message even though the autoAck is set to false and there is an exception in the route. I don't know if I am doing anything wrong.

Re: HTTP Basic Authentication

2014-09-08 Thread Willem Jiang
The configuration only work for the client side, if you want to enable the HTTP Basic Authentication on the server side, you need to setup the Jetty  ServletContextHandler for it. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English)

Re: Idempotent consumer, removeOnFailure=true and exception handling

2014-09-08 Thread Claus Ibsen
Hi Yes removeOnFailure will be called even if the exception was handled. On Mon, Sep 8, 2014 at 5:16 PM, Chris Melikian ch...@melikian.net wrote: Hi, So i'm using Camel 2.13.1 and the JDBC Idempotent Repository and I'd like to use the removeOnFailure =true option to be able to replay the