Re: JMS as Dead Letter Channel in Transaction?

2014-05-02 Thread kraythe .
Thanks Claus I will give that a lash. *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39 * On Fri, May 2, 201

Re: Adding throws Exception to AggregationStrategy.aggregate - Camel 2.9.0

2014-05-02 Thread Craig Taylor
:-) Thanks. It's been a while since I got back into the camel world and didn't even think of that. On Fri, May 2, 2014 at 1:27 PM, Claus Ibsen wrote: > Hi > > Set the exception on the Exchange instance that you return. > > On Fri, May 2, 2014 at 7:26 PM, Craig Taylor > wrote: > > I'm attempti

Re: Adding throws Exception to AggregationStrategy.aggregate - Camel 2.9.0

2014-05-02 Thread Claus Ibsen
Hi Set the exception on the Exchange instance that you return. On Fri, May 2, 2014 at 7:26 PM, Craig Taylor wrote: > I'm attempting to implement an AggregationStrategy and running into issues > when I try to add a throws Exception to the aggregate interface. The > aggregate is aggregating and

Adding throws Exception to AggregationStrategy.aggregate - Camel 2.9.0

2014-05-02 Thread Craig Taylor
I'm attempting to implement an AggregationStrategy and running into issues when I try to add a throws Exception to the aggregate interface. The aggregate is aggregating and enhancing the elements being aggregated at the same time. Database look ups are being loaded for evaluation of aggregation

Re: camel-jclouds parameter "operation" ignored

2014-05-02 Thread Christoph Schmid
Ok, I found the problem. camel-jclouds is checking inf the parameter CamelJcloudsOperation is 'CamelJcloudsGet', not 'GET', same for the uri-operation. So it should have been from("direct:start") .to("jclouds:blobstore:aws-s3" + "?operation=CamelJcloudsGet" + "&container=mycon

Re: java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-02 Thread Charles Moulliard
You could try to increase debug level for this package org/springframework/jdbc/datasource/ to see if Spring reports this message : "logger.debug("Creating new JDBC Driver Connection to [" + url + "]");" On Fri, May 2, 2014 at 1:50 PM, Shiv wrote: > I am however able to connect to SQL Server

camel-jclouds parameter "operation" ignored

2014-05-02 Thread Christoph Schmid
Hi all, I am running jclouds in a servicemix 4.5.3 environment (=> camel 2.7.10), camel-jclouds (=> jclouds-1.4.0) I tried to access a blob using simiar code to http://camel.apache.org/jclouds.html from("direct:start") .to("jclouds:blobstore:aws-s3" + "?operation=GET" + "&cont

Re: java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-02 Thread Shiv
I am however able to connect to SQL Server DB using the given DB name, user name and password via SQL Server Management Studio client and can run select and insert queries directly. For SQL Server driver name, I used the reference from https://access.redhat.com/site/documentation/en-US/Fuse_ESB_En

Re: rsClient: successfully invoking REST service, but where is the response?

2014-05-02 Thread Sergey Beryozkin
I've opened https://issues.apache.org/jira/browse/CAMEL-7408 and will try to create a patch Cheers, Sergey On 02/05/14 12:01, Sergey Beryozkin wrote: Hi, please see comments below On 01/05/14 21:14, jarlyons wrote: Sergey, Thank you for taking the time to respond. I'm not sure I understan

Re: rsClient: successfully invoking REST service, but where is the response?

2014-05-02 Thread Sergey Beryozkin
Hi, please see comments below On 01/05/14 21:14, jarlyons wrote: Sergey, Thank you for taking the time to respond. I'm not sure I understand your response. Again, my goal is to put together a series of camel routes that wire up a complete RESTful interaction with a remote web service, without

Re: java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-02 Thread Charles Moulliard
You get this error because the Connection object is null ( https://github.com/apache/camel/blob/camel-2.2.0/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcProducer.java#L67). So I suspect that a problem occurred during creation of the DataSource object On Fri, May 2, 2014

java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-02 Thread Shiv
Hi all, I am using Camel JDBC component for first time and I need to query a table in MS SQL Server 2008 R2 and push the results to an ActiveMQ queue. I used the details on http://camel.apache.org/jdbc.html page and tried to get the setup. Once my route define in Spring configuration file is starte

Re: Writing big files : stream or file ?

2014-05-02 Thread Ephemeris Lappis
Hello. In cases that produce about one million lines, grouping lines by 1000 lines lets the file opened and closed 1000 times. Perhaps this is an acceptable performance price... As an idealist I am, the best solution should be to open the file once and close it at the end of the main exchange

Re: Writing big files : stream or file ?

2014-05-02 Thread Claus Ibsen
Hi I wonder if using groupLines 1000 etc to work on a bulk of lines at a time, wont be fast enough with the fileExists=Append mode. On Thu, May 1, 2014 at 5:17 PM, Ephemeris Lappis wrote: > Hello. > > We have to produce some rather big volumes of data and generate output > files, in several st

Re: Writing big files : stream or file ?

2014-05-02 Thread Ephemeris Lappis
Hello Claus. I've seen this post before. Using an aggregation indeed helps to reduce the open and close operations overhead, buffering lines before sends them to the file endpoint. As we use only blueprints in our solution until now, I'd prefer not to use java code. Do you know about predefin