Re: Spring based CamelContext Not Staring

2021-02-18 Thread John Dubchak
You are likely missing the Camel JAXB dependency and will need to install that in Karaf as well. I can't recall the exact name, something like camel-jaxb, I believe. On 2/12/21 12:00 PM, Ron Fulkerson wrote: Hi Claus, Thanks for the response! Unfortunately, your response got put in spam whil

Re: ClassCastException in blueprint Route

2015-06-13 Thread John Dubchak
Hi Yogesh, I actually (and accidentally) replied directly to Andy. Here is the declaration of the bean and the service export in the provider's blueprint.xml: class="com.example.services.configuration.local.LocalConfigurationService"> interface="com.example.services.configur

Re: ClassCastException in blueprint Route

2015-06-12 Thread John Dubchak
Hi Yogesh, Thank you for your reply. It seems that you're saying to ignore the cause that it cannot cast LocalConfigurationService to ConfigurationService. Is that correct? Thanks, John On 6/11/15 8:54 PM, yogu13 wrote: Hi, Looking at the stacktrace... the problem seems to be with the obje

ClassCastException in blueprint Route

2015-06-11 Thread John Dubchak
Hi, I have a service component, deployed as a separate bundle, that exports a package, com.example.services.configuration, and a service that implements a ConfigurationService interface in another package called LocalService: com.example.services.configruation.ConfigurationService com.exampl

Processor Issues after upgrade from 2.12.3 to 2.13.1

2014-06-26 Thread John Dubchak
Hi, I upgraded SMX 5.0.0 to 5.1.0 (which was Camel 2.12.3 to 2.13.1) and now my simple route with a single processor has stopped working. // Processor public class MyProcessor extends ConfigurableBase implements Processor { public void process(Exchange exchange) throws Exception {

Re: Camel/CXF REST-ful JSON Serialization Issue

2014-06-11 Thread John Dubchak
Sergey, Thanks for the laugh and the help - both were sorely needed. John On 6/11/14 1:10 PM, Sergey Beryozkin wrote: This is a CXF question after all, why would you not ask at CXF users :-) ? This appears to be a blueprint specific issue, use "" Cheers, Sergey On 11/06/14 1

Camel/CXF REST-ful JSON Serialization Issue

2014-06-11 Thread John Dubchak
Hi, The more I think about it, this is likely a CXF question not a Camel question. However, I am not a member of the CXF list and I suspect when I say I am using the CXF version in Camel 2.12.3, I would end up here. Apologies if I should not have posted here. That being said, I have created

Re: Basic direct-vm scenario produces error

2014-04-23 Thread John Dubchak
Thanks, Raul, it was a naming error. On 4/21/14, 5:18 PM, Raul Kripalani wrote: Check the endpoint URIs on the producer and consumer side. There seems to be a mismatch - perhaps it's a copy paste error? On 22 Apr 2014 00:50, "John Dubchak" wrote: Hi, I am trying to route a JM

Basic direct-vm scenario produces error

2014-04-21 Thread John Dubchak
Hi, I am trying to route a JMS message using an xpath expression. The expression and message conversion seem to work fine but I am getting an error that one of the direct-vm endpoints are not found. Here is the structure of the router: DataFormat jaxb = new JaxbDataFormat(...); from(getInbo

SMX Upgrade and getting Exceptions about Camel/JMS

2014-04-08 Thread John Dubchak
Hi, I tried testing an upgrade from SMX 4.5.3 to 5.0.0 using a functioning python test client that sends a STOMP message through ActiveMQ to a functioning Camel route (updated dependencies for the new version of camel and such) using the Java DSL to forward it through a processor. However, w

Re: XML Namespace Issue with XPathExpression

2014-03-28 Thread John Dubchak
ohn On 3/28/14 1:08 AM, Claus Ibsen wrote: Hi Maybe its streaming see this FAQ http://camel.apache.org/why-is-my-message-body-empty.html On Fri, Mar 28, 2014 at 8:57 AM, John Dubchak wrote: Hi, I am trying to integrate another part of our system that will publish XML events to a camel route.

XML Namespace Issue with XPathExpression

2014-03-28 Thread John Dubchak
Hi, I am trying to integrate another part of our system that will publish XML events to a camel route. I am having difficulty getting JAXB and my camel route to work correctly and I've narrowed it down to the following that shows my xpath expression I expect to match isn't. At this point I'

Question re: camel-quartz event triggers

2014-03-06 Thread John Dubchak
Hi, I have a simple route in Java DSL that uses a cron scheduler. The scheduler fires every minute (for my testing) and I am attempting to have it call a bean, also in the same bundle, that uses an exported service that is already deployed. Here is the blueprint.xml that sets that up:

Re: xpath filter question

2013-11-15 Thread John Dubchak
ing the message after removing the processor Reji ravindra.godb...@cognizant.com wrote: Can you share the sample xml message ? Does it have namespace in it ? From: John Dubchak [j...@johndubchak.com] Sent: Friday, November 15, 2013 1:42 AM To: use

xpath filter question

2013-11-14 Thread John Dubchak
Hi, I am trying to create a JavaDSL route that filters an incoming XML from an ActiveMQ queue. The message is being delivered correctly and I can print it out if I short-circuit it with a processor that dumps the message. However, removing the processor, I cannot seem to get the correct xpa

Re: How to create a basic camel project with mvn for eclipse (for dummies)?

2013-11-01 Thread John Dubchak
Pedro, To simplify it, initially think of maven as a black box - the interactive archetype will help you create the projects you need without having to learn the details of maven. This will give you the opportunity to focus on Camel. You may also want to consider picking up a copy of "Enter

Java DSL and OSGi Question

2013-11-01 Thread John Dubchak
Hi, I am in the process of building routes, starting with the interactive archetypes, and was wondering why there are archetype projects for camel-blueprint, spring-dm, and cxf-contract-first-blueprint that are all OSGi "ready", but nothing for a Java DSL project. Is it possible to create an

Re: How to create a basic camel project with mvn for eclipse (for dummies)?

2013-11-01 Thread John Dubchak
Hi Pedro, Assuming you're using maven3, you can use the interactive create archetype process: $ mvn archetype:generate -Dfilter=org.apache.camel.archetype: This will allow you to pick the type of camel project you want to create, the version of camel you're using and set the group, artifact