Using Camel with Felix (Karaf) without Spring

2009-11-25 Thread Pete Mueller
Hello all, I was wondering if anyone has some tips or an example of using Camel and OSGi without using Spring. Our project uses Apache Felix (Karaf actually) on an embedded device, as such the size and performance of Spring is unattractive. We have created various services using iPOJO and are

Re: Using Camel with Felix (Karaf) without Spring

2009-11-25 Thread Pete Mueller
Hello Charles, I should have been more specific. Yes, I meant without Spring DM. What I am attempting is to create a system that has X number of services registered, but not all services are running at all times, if a service is down, the routes that direct messages to it must also be brought

Lifecycle of a Camel Component

2009-11-25 Thread Pete Mueller
Does any one have any documentation on the lifecycle of a camel component and it's associated entities (Endpoint, Consumer, Producer). I am attempting to write a component for a event-driving wireline protocol. I understand the basics of: 0. Component is created. 1. URI in DSL gets passed to to

Re: Lifecycle of a Camel Component

2009-11-26 Thread Pete Mueller
be happy to add an example to the collection that shows how to setup message "integrity". -p Claus Ibsen-2 wrote: > > Hi > > A lot of questions. Let me give a start and try answering a couple of > those. > > > > On Thu, Nov 26, 2009 at 1:42 AM, Pete

Errors parsing camel-context.xml

2009-12-03 Thread Pete Mueller
Hello, I am receiving the following error trying to start up my camel routing bundle with a camel-context.xml in it. The error is: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 16 in XML document from URL [bundle://135.0:0/META-INF/spring/camel-context.xml] is inv

Re: Errors parsing camel-context.xml

2009-12-04 Thread Pete Mueller
APSHOT based. > You should really use the XSD which is located in camel-spring.jar you > are using. > > > What you can always do is to declare the data format in the top > > > > > > And then refer to it in the route > > > > >> Willem

Cannot read from file - InvalidPayloadException

2009-12-09 Thread Pete Mueller
Hello all, I'm hoping someone has a quick answer for this: Running Camel 2.0 inside Felix/Karaf My Route is: When dropping a file into t

Way for a message to spawn new processors

2010-01-03 Thread Pete Mueller
Hey all, I have an incoming message in an exchange that needs to be processed. The processing of this message may create more messages. This is not a spliting action, in one case for example, data is analyzed and if the result of a computation is > X, a new alert message needs to be sent down a

Questions about camel-jetty

2010-02-08 Thread Pete Mueller
Hello all, I am currently working with the camel-jetty integration for hosting some web services. During my implementation, I've found a few "oddities" that I thought I would post here before opening actual bug reports. (NOTE: I am using Camel 2.0) 1. When an exchange is create from a Jetty en

Message body Disappearing

2010-03-08 Thread Pete Mueller
Hello all, Note: I am using Camel 2.0 I have recently create a custom component that consumes text off a telnet session, packages it into a Message class extended from DefaultMessage. The messages are sent down a route through 3 processors. The problem I am having is that after the first proce