Re: JCAPS to Camel

2013-04-24 Thread Fitzcaraldo
All endpoints are either FTP, JMS, WS or JDBC so it is well within what Camel can do. JCAPS models messages as Object Type Definitions (OTD) and these are all XSDs or CSVs and so can be converted easily. The JCAPS equivalent of a Camel route is a JCD class. Here's an example that writes an inco

JCAPS to Camel

2013-04-23 Thread Fitzcaraldo
Hi We're looking at a project to retire some JCAPS/ECANN interfaces for a client and replace them with Camel routes. Has anyone done this before and has tips or traps to share? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/JCAPS-to-Camel-tp5731389.html Sent from t

Packaging routes for deployment

2012-08-03 Thread Fitzcaraldo
Hi I'm exploring strategies for packaging routes for deployment in as .war. We have a parent POM with multiple child projects each representing a single route and each with its own POM. In general each child route is built with its own camel-context. We want to be able to deploy some but not all

camel and AMQ 5.6.0 (activemq-pool)

2012-05-12 Thread Fitzcaraldo
For those who hit this. I updated a simple Camel JMS route to use AMQ 5.6.0. The ConnectionFactory is specified in camel.context as follows: The route now failed with ClassNotFound for PooledConnectionFactory. I needed to add a dependency on activemq-pool which is no longer pulled

Re: slf4j and jetty

2012-05-12 Thread Fitzcaraldo
The problem was AMQ 5.5.1 which was pulling in the earlier version of slf4j. Upgraded to AMQ 5.6.0 and all good. Thanks Claus. -- View this message in context: http://camel.465427.n5.nabble.com/slf4j-and-jetty-tp5706803p5707863.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: slf4j and jetty

2012-05-12 Thread Fitzcaraldo
Thanks Claus Updated slf4j dependency to 1.6.4 org.slf4j slf4j-log4j12 1.6.4 test This resulted in this at runtime: SLF4J: The requested version 1.6 by your slf4j binding is not compatible with [1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.

slf4j and jetty

2012-05-12 Thread Fitzcaraldo
Hello Camel 2.9.2, CXF 2.6.0 I am trying to run a Camel CXF consumer route using the following endpoint definition: http://localhost:9003/Utility/TestLogWS"; wsdlURL="META-INF/wsdl/Utility/TestLogWS.wsdl"/> I have the following dependency org.slf4j slf4j-log4j12 1.5.11

Re: karaf 2.2.5, cxf 2.6.0 and camel 2.9.0 install problem

2012-04-30 Thread Fitzcaraldo
Dan Did as you suggested and it installed cleanly. Sequence features:addUrl mvn:org.apache.activemq/activemq-karaf/5.5.1/xml/features features:addurl mvn:org.apache.cxf.karaf/apache-cxf/2.6.0/xml/features features:addurl mvn:org.apache.camel.karaf/apache-camel/2.9.2/xml/features features:instal

Re: karaf 2.2.5, cxf 2.6.0 and camel 2.9.0 install problem

2012-04-30 Thread Fitzcaraldo
Trying that now... Thanks Dan. Much appreciated. Do you guys ever sleep? -- View this message in context: http://camel.465427.n5.nabble.com/karaf-2-2-5-cxf-2-6-0-and-camel-2-9-0-install-problem-tp5675060p5677295.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: karaf 2.2.5, cxf 2.6.0 and camel 2.9.0 install problem

2012-04-30 Thread Fitzcaraldo
I'm now trying to add ActiveMQ 5.5.1 to the above container (karaf 2.2.7, cxf 2.6.0, camel 2.9.2) features:addUrl mvn:org.apache.activemq/activemq-karaf/5.5.1/xml/features then features:install activemq-spring This fails with the message: Error executing command: Could not start bundle mvn:org

Re: karaf 2.2.5, cxf 2.6.0 and camel 2.9.0 install problem

2012-04-29 Thread Fitzcaraldo
Good call. With karaf v2.2.7, cxf v2.6.0 and camel v2.9.2 - it installs cleanly. This time the war didn't pull in an earlier version of cxf. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/karaf-2-2-5-cxf-2-6-0-and-camel-2-9-0-install-problem-tp5675060p5675234.html S

karaf 2.2.5, cxf 2.6.0 and camel 2.9.0 install problem

2012-04-29 Thread Fitzcaraldo
I’m trying to run the Camel OSGi blueprint example using karaf2.2.5, camel 2.9.0 and cxf 2.6.0. I followed the instructions here: http://camel.apache.org/cxf-example-osgi-blueprint.html http://camel.apache.org/cxf-example-osgi-blueprint.html jdk 1.6.0_25-b06 Fresh install of karaf. Copied jar.

Suitable scenario for Camel?

2012-04-25 Thread Fitzcaraldo
Hello We have the need to pull changes from Salesforce to an internal system using the web services API. For those that have not used it, the WS connection to salesforce has state in the sense that you must first login using a WS call, then query the relevant objects using one or more WS calls an

Suitable scenario for Camel?

2012-04-25 Thread Fitzcaraldo
Hello We have the need to pull changes from Salesforce to an internal system using the web services API. For those that have not used it, the WS connection to salesforce has state in the sense that you must first login using a WS call, then query the relevant objects using one or more WS calls an

Accessing Endpoint within bean

2012-03-04 Thread Fitzcaraldo
Hi I want to develop a bean that will write a copy of the message at various points passing through a Camel route. Something like as follows: from(foo:bar).bean("MyClass", "input") .to(foo:bar).bean("MyClass", "output") Inside the MyClass bean I want to be able to write to a jms log queue. Is

Getting the last used endpoint

2012-02-02 Thread Fitzcaraldo
I am writing an audit bean that will write the payload to a JMS queue after attaching some metadata as headers to the message eg from("jms:queue:in).bean(Audit.class) .to(..) .to(...) .. .to("jms:queue:out").bean(Audit.class); The metadata I want include context, routeID, source endpoint, source

Access to AMQ Broker id in Exchange

2012-01-24 Thread Fitzcaraldo
I am looking at building a logging/audit bean for messages that pass through Camel. One of the things I would like to log is the name of the ActiveMQ broker the message came from - which doesn't seem to be in any of the JMSHeaders. Is there any way to access it through the Exchange? -- View this

Re: Bindy and FixedLength

2012-01-04 Thread Fitzcaraldo
OK. So I first tried without the @OneToMany section for the lineItems and successfully produced a TestHeader Object (using a shorter input stream) When I put the OneToMany with a full length input stream I get the following exception: Size of the record: 756 is not equal to the value provided in

Bindy and FixedLength

2012-01-03 Thread Fitzcaraldo
I'm trying to model a COBOL copybook message using Bindy. The basic structure is a fixed length header followed by multiple fixed length bodies - all with no separators. Can this be modeled for marshaling purposes using the following annotations: @FixedLengthRecord(length=60, paddingChar=' ') p