RE: Is it possible to communicate with a processor or component instance outside/independent of routing?

2021-10-25 Thread Steve Huston
Hi Steve, Sure, you can do that. Your processor/component is just a Java class - you can do whatever you want. I wrote a component that encapsulated a bunch of external interactions that the "user" was not directly aware of. There are lifecycle callbacks from Camel itself that can help you do

RE: .process vs .to(bean: ?

2021-09-10 Thread Steve Huston
You could also use something like cxfrs to do the REST call and have it unmarshal your JSON return. That would make it easier to integrate with Mark's idea to use Camel's error handling and retries. -Steve > -Original Message- > From: Mark Nuttall > Sent: Friday, September 10, 2021

Setting kafka client ID

2021-08-18 Thread Steve Huston
I am using Camel 3.7.4 and have a route that sends data to Kafka. I am trying to add the clientID parameter to it and getting the following error message: org.apache.camel.FailedToCreateRouteException: Failed to create route outgoingMessageRoute at: >>>

RE: How to adviceWith in Camel 3.10 ?

2021-06-24 Thread Steve Huston
I got stuck on the same point... there is a good explanation in the Camel 3 migration guide: https://camel.apache.org/manual/latest/camel-3-migration-guide.html Search for "advice" in that page. -Steve > -Original Message- > From: mail4...@gmail.com > Sent: Thursday, June 24, 2021

RE: Need to ACK messages before end of route

2021-04-20 Thread Steve Huston
Is the Process1 -> Processor2 route logically separate from Processor3 -> Processor4? If yes, put them in separate routes. Mark the "put on Google PubSub" InOnly then it won't wait for a reply. -Steve > -Original Message- > From: David Shubert > Sent: Tuesday, April 20, 2021 11:20 AM >

Re: own endpoint exmaple?

2019-09-16 Thread Steve Huston
Is it possible that Spring is not finding your endpoint class? -Steve On 9/16/19, 6:55 AM, "thomas.thi...@telekom.de" wrote: Hi Alex, 1. I found this webpage but the links (e.g. createProducer()) goes to "page not found". 2. Stupid question: how and where to do this?

RE: How to use simple expression in properties file?

2019-06-27 Thread Steve Huston
Perfect - thank you!!! > -Original Message- > From: Claus Ibsen > Sent: Thursday, June 27, 2019 1:00 PM > To: users@camel.apache.org > Subject: Re: How to use simple expression in properties file? > > Hi > > Yeah use $simple{header.xxx} > > On Thu, Jun

RE: How to use simple expression in properties file?

2019-06-27 Thread Steve Huston
t; -Steve > -Original Message- > From: Claus Ibsen > Sent: Wednesday, June 26, 2019 11:41 PM > To: users@camel.apache.org > Subject: Re: How to use simple expression in properties file? > > On Wed, Jun 26, 2019 at 11:49 PM Steve Huston > wrote: > > > &g

How to use simple expression in properties file?

2019-06-26 Thread Steve Huston
Is it possible to put a simple() expression in a properties string and have Camel evaluate it at run time? Here's what I'm trying to do: - Set a message header ID with a value I want to use later - Use .toD("{{event.sink}}") application.properties can then have something like: event.sink =

RE: activemq-camel: accessing a javax.jms StringProperty ?

2019-05-21 Thread Steve Huston
Camel JMS transfers JMS properties to Camel message headers. https://stackoverflow.com/questions/22561717/camel-adding-properties-to-a-message-in-spring-dsl So check exchange.getIn().getHeader(...) in your processor. -Steve > -Original Message- > From: Marx, Peter > Sent: Tuesday, May

Re: Issue with JMSReplyTo

2019-04-16 Thread Steve Huston
I'm not sure I understand what your statement is saying, but I think that if you set the exchange to InOnly when it is received, the ReplyTo will not affect it. -Steve On 4/16/19, 7:58 AM, "sagheer ahmed" wrote: Hi Team, Just looking for some help with the below issue. Please

RE: [FEEDBACK] - Apache Camel 3 - camel-core vs camel-core-lite vs camel-core-all

2019-03-05 Thread Steve Huston
My assumption is that camel-core (all in one) doesn't have any negative affect on Camel itself and that breaking it up is motivated by a benefit to those projects that want to reduce size. If that is true, then I recommend leaving camel-core as it is in 2.x - that reduces surprises to all

RE: [DISCUSS] - Apache Camel 3 - A new tagline

2019-02-19 Thread Steve Huston
"Integrate everything!" > -Original Message- > From: Claus Ibsen > Sent: Tuesday, February 19, 2019 10:52 AM > To: users@camel.apache.org > Subject: [DISCUSS] - Apache Camel 3 - A new tagline > > Hi > > As part of Apache Camel 3, we are working on a new modern website (yeah > its long

RE: understanding InOut

2018-12-14 Thread Steve Huston
ow JMS handles it. > What if the end produces multiple exchanges? You've exceeded my knowledge on this... sorry. > Steve Huston writes: > > > I have also found it a bit difficult to get a straight answer on this > > but my understanding at this point is that if the exchange gets

RE: understanding InOut

2018-12-14 Thread Steve Huston
I have also found it a bit difficult to get a straight answer on this but my understanding at this point is that if the exchange gets to the end of the route and is an InOut, the Out from the last endpoint goes back to the 'from' starting point. http://camel.apache.org/request-reply.html

RE: virtual connections

2018-01-24 Thread Steve Huston
Hi Paul, I'd like to clarify a few things that are not clear to me from your message. - Is this a reference to ActiveMQ broker network? I'm guessing form the terminology and port numbers that it is. - Is there a way you could assign the "old" names (possibly as secondary names) to the new

RE: Camel REST Spring Boot Pojo Mandatory Json Properties

2017-12-12 Thread Steve Huston
I don't have a REST-specific example to show you, but in other scenarios I've done, after unmarshalling to POJO: .to("bean-validator://validate-request") If the validator annotations find a violation an exception will be thrown. -Steve > -Original Message- > From: Richard James

PropertyInject defaultValue doesn't work with zero-length string

2017-11-07 Thread Steve Huston
I am using Camel 2.19.1 and have a question on @PropertyInject with a default value. I have the following: public class MyStuff { @PropertyInject(value="testVal", defaultValue="") private String testVal; ... } When this class is instantiated and injected, if there is no 'testVal" in

RE: One-way handler processing

2017-10-19 Thread Steve Huston
I'm not a super expert in this area, but since you are building a @Component you could maybe use the async capability of Camel processors. There's a decent explanation and example in the Camel in Action 2nd edition. -Steve > -Original Message- > From: Robson Vargas Farias

Re: Apache Camel Routing: Best practice how to poll an external REST API

2017-08-08 Thread Steve Huston
I don’t have example code readily available, but one possible approach would be: - Send job request REST/JSON and get job ID back - Add ID to a queue of not-yet-done jobs - A separate route pulls job IDs from the not-done queue and polls - If not done, put it back on the queue - If done,

RE: Apache camel restarting the route

2017-06-16 Thread Steve Huston
The only concept you're missing is that 'from' is not a one shot event. The route keeps running, taking whatever messages become available from the source queue. -Steve > -Original Message- > From: Mahesha999 [mailto:abnav...@gmail.com] > Sent: Friday, June 16, 2017 10:19 AM > To:

RE: How to Extract json key, value from MQTT payload

2017-06-06 Thread Steve Huston
That depends totally on what MyProcessor does with the data and where it puts it. > -Original Message- > From: solomon [mailto:austin.solomon...@gmail.com] > Sent: Tuesday, June 06, 2017 8:21 AM > To: users@camel.apache.org > Subject: How to Extract json key, value from MQTT payload > >

RE: Camel performance issue

2017-03-06 Thread Steve Huston
Did you run it multiple times in succession for each scenario? The file system cache may skew your timing if you just run it once. > -Original Message- > From: RichardChen [mailto:richard.c...@spsoft-cn.com] > Sent: Monday, March 06, 2017 5:13 AM > To: users@camel.apache.org > Subject:

RE: Passing parameters from routes to components

2017-02-24 Thread Steve Huston
Re properties... Sure, there is a long description at http://camel.apache.org/properties.html There are a number of mechanisms for getting the properties injected, depending on how you package and deploy your application. Here is one discussion:

RE: Passing parameters from routes to components

2017-02-23 Thread Steve Huston
You could inject property values from outside the routes. > -Original Message- > From: Erol [mailto:e...@erol.si] > Sent: Thursday, February 23, 2017 6:01 AM > To: users@camel.apache.org > Subject: Passing parameters from routes to components > > Hello all > > I'm dynamically building

RE: Not seeing query params on REST DSL

2017-02-10 Thread Steve Huston
I apologize for the delay responding to this. I was able to get this working but parsing out the URI info separately, like the below. It's from a test program so it has some assumptions about what it should be getting. -Steve --- String httpRequest =

Re: PathParam sample

2016-12-15 Thread Steve Huston
There are lots of examples on the web. Could you show what you have tried? -Steve > On Dec 15, 2016, at 3:47 AM, navajyothi wrote: > > HiWe are using apache cxf as restful service. We have to pass parameter like > ID to the User Service.It would be as >

RE: What to do with Null Body messages?

2016-12-06 Thread Steve Huston
You can set the ROUTE_STOP property to true. http://camel.apache.org/intercept.html has more info. > -Original Message- > From: sa_james [mailto:sa_remin...@hotmail.com] > Sent: Tuesday, December 06, 2016 10:01 AM > To: users@camel.apache.org > Subject: What to do with Null Body messages?

RE: receiving with template and sending to the next processing stage

2016-12-06 Thread Steve Huston
You could create a separate Exchange for each message taken from the queue and use a producer template to send them. http://camel.apache.org/producertemplate.html -Steve > -Original Message- > From: sa_james [mailto:sa_remin...@hotmail.com] > Sent: Tuesday, December 06, 2016 9:55 AM >

Re: Route to two paths

2016-11-30 Thread Steve Huston
You could have a bean or processor check the data and set the next route in a header. Then use .toD after the bean/processor to send to the proper next step. Steve Huston (sent from my iPhone - please excuse brevity and typos) > On Nov 30, 2016, at 9:27 AM, spurcell <scot

RE: Seeking to understand properties

2016-11-16 Thread Steve Huston
eturn context().getInjector().newInstance(MyRouteBuilder.class); > > > > On Wed, Nov 16, 2016 at 6:51 PM, Steve Huston <shus...@riverace.com> > wrote: > > Thank you for the responses thus far. I still have some confusion and an > observation. > > > >

RE: Seeking to understand properties

2016-11-16 Thread Steve Huston
t; > > Subject: Re: Seeking to understand properties > > > > > > Hi > > > > > > context().getProperty("dataFile"); > > > > > > is not property placeholders. Its just generic key/value pairs on > > > CamelContext. See th

RE: Seeking to understand properties

2016-11-16 Thread Steve Huston
e"); > > is not property placeholders. Its just generic key/value pairs on > CamelContext. See the javadoc of the API. > > For property placeholders take a look at http://camel.apache.org/using- > propertyplaceholder.html > > On Tue, Nov 15, 2016 at 11:58 PM, Steve Hu

RE: Seeking to understand properties

2016-11-16 Thread Steve Huston
I tried @PropertyInject also, but I also have some confusion on where to set the property values. If I set these routes up in spring boot I can get a properties file pretty reliably, but with plain camel test support, not sure how to make this happen. > -Original Message- > From:

Seeking to understand properties

2016-11-15 Thread Steve Huston
I am struggling to understand something I fear is very basic, but I just don't see it. Hoping someone can help me understand this. Properties... I can use them in route definitions, but I don't seem to be able to obtain their values in regular Java code. Example (using Camel 2.16.3): I have a

RE: Trouble accessing Response body content from RESTful call

2016-10-25 Thread Steve Huston
eam and convert to string. Can you try it that way > > Regards > Aravind > > > On Oct 25, 2016, at 4:41 PM, Steve Huston <shus...@riverace.com> wrote: > > > > Thank you for replying, Aravind! > > > > Also interesting - I had a LoggingFeature

RE: Trouble accessing Response body content from RESTful call

2016-10-25 Thread Steve Huston
> wrote: > > > I can't say where the response body is being consumed, but try > > enabling stream caching[1] and see what you get. > > > > Doug > > > > [1] http://camel.apache.org/stream-caching.html > > > > On Tue, Oct 25, 2016 at 9:31 AM, Steve

RE: Trouble accessing Response body content from RESTful call

2016-10-25 Thread Steve Huston
l.apache.org > Subject: Re: Trouble accessing Response body content from RESTful call > > I can't say where the response body is being consumed, but try enabling > stream caching[1] and see what you get. > > Doug > > [1] http://camel.apache.org/stream-caching.html > > On

Trouble accessing Response body content from RESTful call

2016-10-25 Thread Steve Huston
I am developing a route that calls a web service; said web service returns a JSON string (Not always the same type represented). I have this in a route as: from(myqueue) .bean(SetupCxfRequest.class) // This sets up parameters for REST API call

RE: Camel Log - Karaf

2016-10-20 Thread Steve Huston
I'm only guessing sort of, but try the camel context id. You could get a more definitive answer by letting it log DEBUG everything, find the lines you want from your route(s) and note the name they're logged under, then just use that. -Steve > -Original Message- > From: ychawla

RE: Camel Log - Karaf

2016-10-20 Thread Steve Huston
Try log:set DEBUG > -Original Message- > From: ychawla [mailto:premiergenerat...@gmail.com] > Sent: Thursday, October 20, 2016 11:34 AM > To: users@camel.apache.org > Subject: Camel Log - Karaf > > Hello All, > I have a log statement in a camel route that is at the DEBUG loggingLevel: >

RE: Rest DSL with restlet Component, unable to access API when hosted on remote server

2016-10-14 Thread Steve Huston
I would start by chasing this as a firewall/routing problem with your network infrastructure people. > -Original Message- > From: ganga_camel [mailto:ganga...@gmail.com] > Sent: Friday, October 14, 2016 9:37 AM > To: users@camel.apache.org > Subject: RE: Rest DSL with restlet Component,

RE: Rest DSL with restlet Component, unable to access API when hosted on remote server

2016-10-14 Thread Steve Huston
Sounds like a firewall (or similar) configuration issue. If not, please try posting more about what's not working - error messages, etc. -Steve > -Original Message- > From: ganga_camel [mailto:ganga...@gmail.com] > Sent: Friday, October 14, 2016 9:00 AM > To: users@camel.apache.org >

RE: Camel route with AMQP consumer runs ok in Eclipse, hangs in karaf

2016-10-10 Thread Steve Huston
t; > Hi Steve > > I think I wrote a comment on stackoverflow for you. > > Best > Souciance > > On Mon, Oct 10, 2016 at 11:15 AM, Steve Huston [via Camel] < > ml-node+s465427n5788554...@n5.nabble.com> wrote: > > > I posted this in stackoverflow, hoping

Camel route with AMQP consumer runs ok in Eclipse, hangs in karaf

2016-10-10 Thread Steve Huston
I posted this in stackoverflow, hoping for some expertise here. I would really appreciate some hel from the experts. Camel route with AMQP consumer runs ok in Eclipse, hangs in karaf http://stackoverflow.com/q/39939964/240342?sem=2 Thanks! -Steve

RE: Access header in camel route

2016-10-05 Thread Steve Huston
I believe for the "to" routing, it's plain text... if you want to use a header value you need to use dynamic to: http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html http://www.davsclaus.com/2015/10/apache-camel-216-released-top-10.html -Steve > -Original Message- > From:

Re: Set camel route based on timer or a count variable

2016-10-01 Thread Steve Huston
You can use quartz2 or timer in camel, but I’m not sure how to incorporate the reset on count. -Steve > On Sep 30, 2016, at 3:39 PM, Vik wrote: > > I want to invoke another camel route based on a counter value or after > certain time has passed whichever happens

RE: JMS Component configurations

2016-09-13 Thread Steve Huston
Put that info in a bean? > -Original Message- > From: dpravin [mailto:pravin.deshm...@gmail.com] > Sent: Monday, September 12, 2016 9:32 PM > To: users@camel.apache.org > Subject: JMS Component configurations > > Hello All, > > We are in process of implementing hundreds of routes that

RE: Camel send/receive UDP with Netty4

2016-08-31 Thread Steve Huston
I'm not an expert on the camel you show, but try changing: from(String.format("netty4:udp://localhost:%d?sync=false=true", to from(String.format("netty4:udp://0.0.0.0:%d?sync=false=true", > -Original Message- > From: Steve973 [mailto:steve...@gmail.com] > Sent: Wednesday, August 31,

RE: Unit test case for XML DSL context and routes

2016-07-05 Thread Steve Huston
http://camel.apache.org/testing.html > -Original Message- > From: Vanshul.Chawla [mailto:vanshul.cha...@target.com] > Sent: Tuesday, July 05, 2016 10:08 AM > To: users@camel.apache.org > Subject: Unit test case for XML DSL context and routes > > Hello All, > > We have some Camel code

RE: Apache Camel + Microsoft Azure Service Bus

2016-06-22 Thread Steve Huston
Azure supports AMQP, you should be able to use the JMS component in Camel. I think MS has learned that locking people onto one choice is not a good idea, particularly with developers. > -Original Message- > From: jamie3 [mailto:jam...@gmail.com] > Sent: Wednesday, June 22, 2016 10:29 AM

RE: Generic camel routes - multiple instances

2016-06-10 Thread Steve Huston
I am doing something like this, and plan to use a separate source file (like below) that instantiates the route builders (that are in other sources) for each set of routes that only vary by the properties. When SCR sets this up at run time it injects the properties values into the routes. >

RE: Generic camel routes - multiple instances

2016-06-10 Thread Steve Huston
I use Camel SCR for this sort of thing. It works, but is probably not the only way. > -Original Message- > From: souciance [mailto:souciance.eqdam.ras...@gmail.com] > Sent: Friday, June 10, 2016 9:29 AM > To: users@camel.apache.org > Subject: Generic camel routes - multiple instances >

RE: How to Mock Kafka Consumer Endpoint with Spock Framework Unit Test cases

2016-06-10 Thread Steve Huston
I am relatively new to camel, but until you get more experienced replies, I'd suggest your second path (replaceFromWith) but use something like seda:mockKafka - then send your test messages to seda:mockKafka. I'm under the impression that a mock can't produce a message, which is why you're

RE: IBM MQ to Active MQ migration

2016-06-03 Thread Steve Huston
IBM MQ -> ActiveMQ is a separate activity from using camel, or are you already using camel with IBM MQ? -teve > -Original Message- > From: tanay94 [mailto:tanay.jos...@gmail.com] > Sent: Friday, June 03, 2016 2:15 AM > To: users@camel.apache.org > Subject: IBM MQ to Active MQ migration

RE: Routing with logic

2016-05-23 Thread Steve Huston
integration, that would be easier. -Steve Huston > -Original Message- > From: miri eyni [mailto:miri.e...@sapiens.com] > Sent: Monday, May 23, 2016 6:39 AM > To: users@camel.apache.org > Subject: Routing with logic > > hi > i need to implement routing with

RE: Camel jms Request reply -scenario with separate queues for request and response

2016-05-18 Thread Steve Huston
> I have 2 queues provided by third party provider 1.request queue, 2.reply > queue > > using camel jms i will send request to request queue, so third party provider > will push respective response to response queue. Ok. > I would to make these calls synchronous. so for each request send to >

RE: Trouble sending a ByteBuffer to a mock

2016-05-11 Thread Steve Huston
ot; to set up a Response for REST. -Steve > -Original Message- > From: Steve Huston > Sent: Thursday, April 28, 2016 7:04 PM > To: 'users@camel.apache.org' <users@camel.apache.org> > Subject: Trouble sending a ByteBuffer to a mock > > I am using Camel 2.16.3. I h

RE: What is direct:start in "camel in action" book?

2016-05-03 Thread Steve Huston
"direct" is a component that's used to inject messages into a route: http://camel.apache.org/direct.html "start" and "update", from your examples, are names for "direct" endpoints. -Steve > -Original Message- > From: polanki [mailto:varadaraja.pola...@pimco.com] > Sent: Tuesday, May

Trouble sending a ByteBuffer to a mock

2016-04-28 Thread Steve Huston
llowed to have text message bodies written to it? My searching for info related to that error has turned up only issues related to CXF and REST and problems marshalling to XML/JSON. Thanks, -Steve Huston

RE: Not seeing query params on REST DSL

2016-04-26 Thread Steve Huston
> On Mon, Apr 25, 2016 at 2:28 PM Claus Ibsen <claus.ib...@gmail.com> > wrote: > > > That is for the api documentation. > > > > Its the camel-restlet component that does the actual mapping from > > restlet to camel exchange/message. > > > > On M

RE: Not seeing query params on REST DSL

2016-04-25 Thread Steve Huston
Subject: Re: Not seeing query params on REST DSL > > Apologies as I missed this. > > As far as I know, you need to explicitly register your query params. They are > not automatically propagated. > > John > > On Mon, Apr 25, 2016 at 1:33 PM Steve Huston <shus...@riverace.com>

RE: Not seeing query params on REST DSL

2016-04-25 Thread Steve Huston
On the risk of aggravating people (sorry) popping this up to today's content... any help is most welcome. Thanks! -Steve > -Original Message- > From: Steve Huston > Sent: Wednesday, April 20, 2016 8:57 PM > To: users@camel.apache.org > Subject: Re: Not seeing query par

Re: Not seeing query params on REST DSL

2016-04-20 Thread Steve Huston
I am using Camel 2.16.3 and restlet. -Steve > On Apr 20, 2016, at 7:27 PM, John D. Ament <johndam...@apache.org> wrote: > > Steve > > Could you share your dependencies as well? Which rest runtime are you > using? > On Apr 20, 2016 17:12, "Steve Huston" <

Not seeing query params on REST DSL

2016-04-20 Thread Steve Huston
I am using the REST DSL in a Camel SCR unit test. I have a route (being tested) that will initiate a http request at this URL: @Test public void testRoutes() throws Exception { context.addRoutes(new RouteBuilder() { @Override public void

RE: Using BeanInvocation in camel cxf

2015-11-17 Thread Steve Huston
I have this excerpt from a Camel route in blueprint XML: ... > -Original Message- > From: Kasim Sert (Ibtech-Software Infrastructure) > [mailto:kasim.s...@ibtech.com.tr] > Sent: Tuesday, November 17, 2015 4:23 AM > To: users@camel.apache.org > Subject: Using

RE: How to access payload from REST 404 reply in cxfrs?

2015-11-10 Thread Steve Huston
a Response to get the code from. After I changed the return type from String to Response, things started working. If it appears that I've got something confused still, I'm happy to hear about it. -Steve > -Original Message- > From: Steve Huston [mailto:shus...@riverace.com]

Re: How to access payload from REST 404 reply in cxfrs?

2015-11-03 Thread Steve Huston
Thank you for the idea, Kalyan, but that didn’t work. Is it true that there’s no access to the payload one it’s touched? I can see the payload if no exception is thrown (e.g., a normal 200 response). Thanks, -Steve > On Nov 3, 2015, at 1:56 AM, calyan.bandi wrote: > >

Re: How to access payload from REST 404 reply in cxfrs?

2015-11-02 Thread Steve Huston
and parse manually > > HTH, Sergey > On 02/11/15 16:15, Steve Huston wrote: >> I put this up on stackoverflow... if you have cxfrs expertise, could you >> please read this? >> >> How to access payload from REST 404 response in Camel cxfrs? >> http://stackoverflow.com/q/33445686/240342?sem=2 >> >> Thanks, >> -Steve >> >

How to access payload from REST 404 reply in cxfrs?

2015-11-02 Thread Steve Huston
I put this up on stackoverflow... if you have cxfrs expertise, could you please read this? How to access payload from REST 404 response in Camel cxfrs? http://stackoverflow.com/q/33445686/240342?sem=2 Thanks, -Steve

Re: How to access payload from REST 404 reply in cxfrs?

2015-11-02 Thread Steve Huston
hough I'm not sure right now what the syntax is with > cxfrs:bean:webService, looks like from > http://camel.apache.org/cxf-bean-component.html > > it is something like > cxfrs:bean:webService?providers=#jackson > > Cheers, Sergey > On 02/11/15 18:02, Steve Huston wrote: &g

Re: How to access payload from REST 404 reply in cxfrs?

2015-11-02 Thread Steve Huston
hough I'm not sure right now what the syntax is with > cxfrs:bean:webService, looks like from > http://camel.apache.org/cxf-bean-component.html > > it is something like > cxfrs:bean:webService?providers=#jackson > > Cheers, Sergey > On 02/11/15 18:02, Steve Huston wrote: &g

RE: [camel-cxf] using blueprint

2015-10-20 Thread Steve Huston
> I cannot find any examples for setting up camel-cxf using blueprint, can > someone point me the right direction? > The one I have found uses spring, is there a way to not use spring for this > component? This is a stripped down blueprint XML file that works. If I stripped too much and it

RE: How to test routes when using another TestRunner

2015-10-15 Thread Steve Huston
I am a relative novice in this area, but I did have some tests running in Cucumber. To get the applicationcontext, see this stack overflow question: http://stackoverflow.com/questions/4914012/how-to-inject-applicationcontext-itself Once you have that, you can get the CamelContext like:

RE: Trouble getting AMQP going

2015-10-12 Thread Steve Huston
ample at > http://camel.apache.org/amqp.html > > Could someone please point me in the right direction? > Thank you, > -Steve Huston > > I am deploying this in a blueprint container in karaf. > > My setup is: > >class="org.apache.qpi

Trouble getting AMQP going

2015-10-08 Thread Steve Huston
I am trying to use AMQP queues as both the start and end of a route. I am having trouble getting this to work, following the example at http://camel.apache.org/amqp.html Could someone please point me in the right direction? Thank you, -Steve Huston I am deploying this in a blueprint container

RE: NoClassDefFoundError: net/minidev/json/parser/ContainerFactory

2015-08-25 Thread Steve Huston
0.9.1 which pulled in json-smart 1.2. Once I removed the above camel-jsonpath dependency the older json-path is not pulled any longer. That problem is gone. Now I have a context problem in its place :-( I will research that. Thank you for your help, -Steve Huston From: Steve Huston