RE: Camel under OSGi without Spring et al.

2011-06-28 Thread Michael Furtak
OSGI environment than the DefaultPackageScanClassResolver. This might also solve a problem I was having, where OsgiDefaultCamelContext.getComponentNames() was coming up empty. Can you test with a non-core component as well, such as mail? On Mon, Jun 27, 2011 at 4:21 PM, Michael Furtak wrote: > Ok

RE: Camel under OSGi without Spring et al.

2011-06-27 Thread Michael Furtak
le to others on request). If that doesn't work for you either, my guess is something in your Camel config. Don On Mon, Jun 27, 2011 at 12:26 PM, Michael Furtak wrote: > Hi Don, > > Thanks for your continued help. I've had my efforts diverted elsewhere for a > bit, but I&#x

RE: Camel under OSGi without Spring et al.

2011-06-27 Thread Michael Furtak
xt, and then registers itself as a service; then your CamelStarter class would bind to that service along with the ComponentResolver(s), and fetch the CamelContext from that service. Can you bind to multiple services via your XML, such that your class won't activate until all the other services are

RE: Camel under OSGi without Spring et al.

2011-06-21 Thread Michael Furtak
e advised, you'll need to use a singleton CamelContext if you're using SEDA queues, because SEDA queues are local to a CamelContext instance. A route that consumes from a SEDA queue from one CamelContext instance won't see anything produced to a SEDA queue from a different CamelContext inst

RE: Camel under OSGi without Spring et al.

2011-06-21 Thread Michael Furtak
21, 2011 at 4:38 PM, Donald Whytock wrote: > Odd...I can see it there. I'll send it to you directly. > > Don > > On Tue, Jun 21, 2011 at 8:01 AM, Michael Furtak wrote: >> Hi Don, >> >> I wasn't able to find OsgiCamelTracker.java attached to your message.

RE: Camel under OSGi without Spring et al.

2011-06-21 Thread Michael Furtak
ent CamelContext instance. For OsgiDefaultCamelContext... > On Mon, Jun 20, 2011 at 3:31 PM, Michael Furtak wrote: >> I did come across mention of this in my troubleshooting exploration. It >> seems to be part of a bundle called camel-core-osgi, is that right? I don't &g

RE: Camel under OSGi without Spring et al.

2011-06-20 Thread Michael Furtak
-4125 [3] http://repo1.maven.org/maven2/org/apache/camel/camel-core-osgi/2.7.2/ [4] http://repo1.maven.org/maven2/org/apache/camel/camel-core-xml/2.7.2/ On 06/20/2011 03:31 PM, Michael Furtak wrote: > Hi Don, > > The exception was: > > org.apache.camel.TypeConverterLoaderException:

RE: Camel under OSGi without Spring et al.

2011-06-20 Thread Michael Furtak
s possible. I do it myself. I create my routes in Java, and I use a service that supplies a singleton CamelContext based on OsgiDefaultCamelContext. What specific problems are you having? Don On Mon, Jun 20, 2011 at 2:48 PM, Michael Furtak wrote: > Hi all, > > I have an exi

Camel under OSGi without Spring et al.

2011-06-20 Thread Michael Furtak
uot;include Spring", but my application is not Spring-based, and I >would prefer not to introduce that dependency if at all possible. Thanks in advance for your advice, + + + + + + + + + + + + + + + + Michael Furtak Software Engineer Cognitive Systems Government Services Charle