Re: Problem Adding ActiveMQ Broker URL to Camel Context Using Java DSL Type Project

2015-04-02 Thread Wilkerson, Daniel
. http://saltnlight5.blogspot.com/2013/08/getting-started-with-apache-camel-using.html Hope that helps anyone who runs up against a similar issue. From: Wilkerson, Daniel Wilkerson dwilker...@fullsail.commailto:dwilker...@fullsail.com Date: Wednesday, April 1, 2015 11:53 AM To: users

Problem Adding ActiveMQ Broker URL to Camel Context Using Java DSL Type Project

2015-04-01 Thread Wilkerson, Daniel
I'm trying to add the correct tcp:// connection url to the camel context in a standalone/Java DSL camel app and am using a boot() method that was pulled from example code on the camel site. In my boot() method I'm trying to add the correct URL to the camel context but it's not getting added.

Re: MyBatis Camel Route Config - ### Error opening session. Cause: java.lang.NullPointerException

2015-03-30 Thread Wilkerson, Daniel
, Wilkerson, Daniel dwilker...@fullsail.com wrote: Hi everyone. I'm working on a small prototype using Camel, Bindy, and MyBatis. I'm currently doing this as a standalone Camel app. I'm not currently using Spring or Blueprint, just Java DSL. I'm trying to keep this a simple as possible for the time

Camel-mybatis and MyBatis Generator Workflow Issue

2015-03-30 Thread Wilkerson, Daniel
Hi everyone. I'm using MyBatis Generator to generate our MyBatis artifacts and the mapper files contain id= attributes that are very generic. For example, insert is what's used as the id for an insert statement instead of something like, insertObjectName. Our code running outside of Camel

Re: MyBatis Camel Route Config - ### Error opening session. Cause: java.lang.NullPointerException

2015-03-27 Thread Wilkerson, Daniel
Do you have a stacktarce of the NPE? On Fri, Mar 27, 2015 at 5:35 PM, Wilkerson, Daniel dwilker...@fullsail.com wrote: Hi everyone. I'm working on a small prototype using Camel, Bindy, and MyBatis. I'm currently doing this as a standalone Camel app. I'm not currently using Spring or Blueprint

MyBatis Camel Route Config - ### Error opening session. Cause: java.lang.NullPointerException

2015-03-27 Thread Wilkerson, Daniel
Hi everyone. I'm working on a small prototype using Camel, Bindy, and MyBatis. I'm currently doing this as a standalone Camel app. I'm not currently using Spring or Blueprint, just Java DSL. I'm trying to keep this a simple as possible for the time being. We are looking at this strategy to port

org.apache.camel.TypeConversionException: Error during type conversion from type: org.apache.camel.component.file.GenericFile to the required type

2014-05-22 Thread Wilkerson, Daniel
Hi everyone. I working on a data integration prototype/proof-of-concept using Camel 2.12, Fuse 7.1, Smooks 1.5.2, and ActiveMQ 5.9. I'm stuck currently in a unit test I'm writing to test binding an CSV file read from the file system using the file:// component and passed to smooks for

Re: org.apache.camel.TypeConversionException: Error during type conversion from type: org.apache.camel.component.file.GenericFile to the required type

2014-05-22 Thread Wilkerson, Daniel
) at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:86) ... 28 more On 5/22/14 11:01 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Add a convertBodyTo type=String/ before the smooks so the data is in a format that smooks can read. On Thu, May 22, 2014 at 4:55 PM, Wilkerson, Daniel

Re: org.apache.camel.TypeConversionException: Error during type conversion from type: org.apache.camel.component.file.GenericFile to the required type

2014-05-22 Thread Wilkerson, Daniel
://beanio.org/ On Thu, May 22, 2014 at 5:34 PM, Wilkerson, Daniel dwilker...@fullsail.com wrote: Thank you for the quick reply Claus. I sincerely appreciate it. I placed the convertBodyTo type=String / ahead of the Smooks as you mentioned but get a strange error that I suspect is BOM characters

Camel Smooks MyBatis

2014-05-16 Thread Wilkerson, Daniel
Hi everyone. Still somewhat new to Camel. I'm trying to put to ether a Camel integration scenario that routes CSV files to Smooks, then have smooks unmarshall directly to a MyBatis value object that is published to a queue for insertion into a database. I've been able to get a Smooks route