Re: Embedded Broker, Trying to Load Camel

2011-08-29 Thread sub3
Thanks for all the suggestions. I am still having issues, but I think I have a work around. Is it true I could just start it up (like below) and this will have the same effect as using the config file? I will be creating all the routes from within code, so are there any disadvantages?

Re: Embedded Broker, Trying to Load Camel

2011-08-27 Thread sub3
Thanks for your replies. I am loading (full pom also attached): dependency groupIdorg.apache.camel/groupId artifactIdcamel-core/artifactId version2.8.0/version /dependency dependency groupIdorg.apache.camel/groupId

Re: Embedded Broker, Trying to Load Camel

2011-08-27 Thread sub3
--- On Sat, Aug 27, 2011 at 11:34 AM, sub3 [hidden email] /user/SendEmail.jtp?type=nodenode=4741501i=0 wrote: Thanks for your replies. I am loading (full pom also attached): dependency groupIdorg.apache.camel/groupId artifactIdcamel-core/artifactId

Embedded Broker, Trying to Load Camel

2011-08-26 Thread sub3
Hi, Anyone have an example of using an embedded broker w/Camel, w/its config files within the same jar? I have the ActiveMQ starting fine, just not w/Camel. So far, I made sure: 1.) Made sure all of the namespaces point to camel.apache.org. 2.) Pointed all the xsi:schemaLocations to the local

Re: Embedded Broker, Trying to Load Camel

2011-08-26 Thread sub3
--- On Fri, Aug 26, 2011 at 3:38 PM, sub3 [hidden email] /user/SendEmail.jtp?type=nodenode=4739296i=0 wrote: Hi, Anyone have an example of using an embedded broker w/Camel, w/its config files within the same jar? I have the ActiveMQ starting fine, just not w/Camel. So far, I made

Needing to push objects out for some reason

2011-05-13 Thread sub3
Hi, I have a sample system with 3 components that each has an outgoing queue and I route based on the message type in the header (see camel-context.xml below). So, I have ComponentA_outgoing, ComponentB_outgoing ComponentC_outgoing going to a bunch of incoming queues. If I start up all 3

Re: Inside Out of OSGI

2011-04-29 Thread sub3
Charles, thanks for you reply. I do have a few follow up questions: Since JNDI is not available in Camel OSGI, I am starting to think I am heading in the wrong direction. I want to be able to determine which queues go to which class/function at runtime. Can that be done anymore? If I gave you

Inside Out of OSGI

2011-04-28 Thread sub3
Hi, I would like to be able to run the same code (or very close) both inside and outside an osgi container (I am using servicemix/karaf). Normally, I set up via code like: jndiContext = new JndiContext(); context = new DefaultCamelContext(jndiContext); and add routes as needed:

Upgrade to 2.6.0, can't context.addRoutes

2011-03-10 Thread sub3
Hi, Hope someone can help me out. I am having issues upgrading to 2.6.0. During runtime, I keep getting: java.lang.NoSuchMethodError: org.apache.camel.CamelContext.addRoutes(Lorg/apache/camel/RoutesBuilder;)V on: context.addRoutes(new RouteBuilder() { public void configure() {

Re: Upgrade to 2.6.0, can't context.addRoutes

2011-03-10 Thread sub3
Yes, that was it. My pom was somehow pointing to 2 different ones. Thanks a lot. -- View this message in context: http://camel.465427.n5.nabble.com/Upgrade-to-2-6-0-can-t-context-addRoutes-tp3423607p3423754.html Sent from the Camel - Users mailing list archive at Nabble.com.

Current ThreadPoolProfile

2010-05-30 Thread sub3
Hi, Can I change the current ThreadPoolProfile maxPoolSize via code at runtime? I wanted to experiment to see if I was hitting the upper limit. I google-d and one person said you could get to it through CamelContext, but I don't see how. Thank for any help, Steve -- View this message in

How do I specify sorting in file component?

2010-03-26 Thread sub3
Hi, Can someone tell me what I am doing wrong. I am using the File component and I am trying to make the incoming files come in in order. However, I don't know how to specify the sorter. context.addRoutes(new RouteBuilder() { public void configure() { JndiContext

Re: DeadLetter - Get Stack Trace

2009-11-22 Thread sub3
That works great. Thanks. Claus Ibsen-2 wrote: On Sat, Nov 21, 2009 at 4:57 AM, sub3 st...@subwest.com wrote: Hi, I have the dead letter channel set up to catch errors: errorHandler(deadLetterChannel(bean:DeadLetterChannelProcessor?method=handleError).maximumRedeliveries(1)); I am

DeadLetter - Get Stack Trace

2009-11-20 Thread sub3
Hi, I have the dead letter channel set up to catch errors: errorHandler(deadLetterChannel(bean:DeadLetterChannelProcessor?method=handleError).maximumRedeliveries(1)); I am getting the incoming object that is causing the error, but I would also like to get the error/exception this is thrown. Is

Re: Camel Upgrade: Spring Integration

2009-10-22 Thread sub3
the org.springframewor.integration-1.0.3.RELEASE.jar. Otherwise you can download it from here[1] [1] http://s3.amazonaws.com/dist.springframework.org/release/INT/spring-integration-1.0.3.RELEASE.zip Willem sub3 wrote: When upgrading to 2.0, I am getting a missing class org/springframework/integration/core

Camel Upgrade: Spring Integration

2009-10-21 Thread sub3
When upgrading to 2.0, I am getting a missing class org/springframework/integration/core/Message. I thought I had all the jars, am I missing one, or do I download that myself? Which version is most compatible? Thanks. -- View this message in context:

Re: Upgrading to 2.0 - Using FileExchange

2009-10-12 Thread sub3
(); long end = System.currentTimeMillis(); logger.info(String.format(Runtime %1$d ms (%2$d to %3$d),(end - start), start, end)); } catch (Exception ex) { ex.printStackTrace(); } } }); Claus Ibsen-2 wrote: On Fri, Oct 9, 2009 at 4:55 PM, sub3 st...@subwest.com wrote

Re: Upgrading to 2.0 - Using FileExchange

2009-10-12 Thread sub3
this lock file before I startup? Thanks. Claus Ibsen-2 wrote: On Mon, Oct 12, 2009 at 3:50 PM, sub3 st...@subwest.com wrote: Thanks.  That got me past the compilation errors, but I am not able to get it to trigger in 2.0. Below is the same code from when I was integrated with 1.3.0 (Except

Upgrading to 2.0 - Using FileExchange

2009-10-09 Thread sub3
I am trying to upgrade my system from 1.3.0 to 2.0.0. I can't seem to find org.apache.camel.component.file.FileExchange. When I look at the javadocs online, it is there, but I can't find it in any of the jars. Do I need to compile it myself, or am I just overlooking something? Thanks for your