TypeConverter not being loaded?

2011-08-26 Thread dunnlow
I suppose I'm confused about how to load my TypeConverter. I have a Spring web-app running in tomcat (tried glassfish too), have an annotated class, and have placed a TypeConverter in several locations, including /META-INF/services/org/apache/camel, /WEB-INF, and /WEB-INF/classes. However, when

Re: Using a drools server in a route?

2011-08-26 Thread dunnlow
Willem, That is in fact the case - I am just calling the execute. For starters though, I've opted to implement this by creating a method in my pojo that creates a new instance of itself based on information in the header, sends itself to the service using httpclient, and loads the result in to

Re: TypeConverter not being loaded?

2011-08-26 Thread dunnlow
I should add that I tried loading the converter class as a bean in my app-context.xml but that didn't do the trick either. -- View this message in context: http://camel.465427.n5.nabble.com/TypeConverter-not-being-loaded-tp4735055p4735153.html Sent from the Camel - Users mailing list archive at

Re: How to stop all Exchanges based on criteria like header value?

2011-08-26 Thread Claus Ibsen
You could possible use an context scoped interceptor and then mark the exchange to stop if the job is to be stopped. See the source code of the StopProcessor how to mark the exchange to stop. On Fri, Aug 26, 2011 at 1:07 AM, Andre Piwoni apiwo...@yahoo.com wrote: Ashwin, Thank you for your

upgrade to spring 3.0.6

2011-08-26 Thread bvahdat
Hi, Is there an intention for an upgrade to spring 3.0.6 for the camel 2.8.1 or 2.9.0? http://www.springsource.org/node/3212 Regards, Babak -- View this message in context: http://camel.465427.n5.nabble.com/upgrade-to-spring-3-0-6-tp4737586p4737586.html Sent from the Camel - Users mailing

Re: upgrade to spring 3.0.6

2011-08-26 Thread Claus Ibsen
On Fri, Aug 26, 2011 at 11:52 AM, bvahdat babak.vah...@swissonline.ch wrote: Hi, Is there an intention for an upgrade to spring 3.0.6 for the camel 2.8.1 or 2.9.0? Camel 2.9.0 is the best place to upgrade Spring. There is so many other Apache projects that by default uses Spring 3.0.5. So

how to run and use the web-module?

2011-08-26 Thread xiangqiuzhao
i have see the camel source with camel-web-standalone components, but can't find the document about it on apache. how to monitor and control the route or endpoint? -- View this message in context: http://camel.465427.n5.nabble.com/how-to-run-and-use-the-web-module-tp4737628p4737628.html Sent

Re: upgrade to spring 3.0.6

2011-08-26 Thread Jean-Baptiste Onofré
Hi, we have to align the Spring version between Karaf, Camel and CXF, not sure for Camel 2.8.1, but for Camel 2.9.0, it's necessary (in order to align with CXF 2.5.0). Regards JB On 08/26/2011 11:52 AM, bvahdat wrote: Hi, Is there an intention for an upgrade to spring 3.0.6 for the camel

Re: how to run and use the web-module?

2011-08-26 Thread Jon Anstey
Some info on the web console is here: http://camel.apache.org/web-console.html On Fri, Aug 26, 2011 at 7:41 AM, xiangqiuzhao xiangqiuz...@gmail.comwrote: i have see the camel source with camel-web-standalone components, but can't find the document about it on apache. how to monitor and control

redeliveryPolicyProfile and onException@redeliveryPolicyRef

2011-08-26 Thread RavshanKos
Hello. I'm trying to store redelivery policies in separate spring context. Here context files that I'm using to test my approach: main-context.xml: ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: How to stop all Exchanges based on criteria like header value?

2011-08-26 Thread Andre Piwoni
Claus, I should be able to add InterceptStrategy to CamelContext and set Exchange.ROUTE_STOP if that's the only way. Thanks, Andre -- View this message in context: http://camel.465427.n5.nabble.com/How-to-stop-all-Exchanges-based-on-criteria-like-header-value-tp4735364p4738533.html Sent from

Re: How to stop all Exchanges based on criteria like header value?

2011-08-26 Thread Donald Whytock
You could have a Processor that adds a header StopFlag under whatever conditions are needed, and then a when(header(StopFlag).isNotNull()).stop(). The Processor can evaluate dynamic criteria, such as a particular value for a header, or it can even be a DesignateProcessor that holds a no-op unless

Re: CXF rest services on cxf generated pages

2011-08-26 Thread Mick Knutson
I started looking through that and it is going to help, but here are some observations that I found through more hacking: 1. The unit tests in the originally: from apache-camel-2.8.0\examples\camel-example-cxf\** This used these endpoint urls: public static final String SOAP_ENDPOINT_URI_2 =

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 Mick Knutson
Did you try import resource=*classpath:*camel.xml/ --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (855) BASE-LOGIC: (227-3564-42) p. (478) BASE-LOGIC (227-3564-42) f. (855) BASE-LOGIC: (227-3564-42) Website:

Re: Embedded Broker, Trying to Load Camel

2011-08-26 Thread sub3
Just tried it now, both that *classpath*:camel.xml. The first result in file not found, the sector responded in the same: org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean namespace mapping: http://camel.apache.org/schema/spring; So, I think that test showed the

Re: Embedded Broker, Trying to Load Camel

2011-08-26 Thread Mick Knutson
Is the camel jar still getting loaded as well? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (855) BASE-LOGIC: (227-3564-42) p. (478) BASE-LOGIC (227-3564-42) f. (855) BASE-LOGIC: (227-3564-42) Website:

Re: CXF rest services on cxf generated pages

2011-08-26 Thread Willem Jiang
Hi, If you just want to publish the CXF service through the web container, you need to use the relative path instead of full http address. From CXF 2.4.x, CXF will not create a new Jetty instance to serve as the HTTP engine. For the question 3, you may need to check the configuration of your

Re: Embedded Broker, Trying to Load Camel

2011-08-26 Thread Willem Jiang
Please check if you put the camel-spring jar into your class path. On 8/27/11 6:56 AM, Mick Knutson wrote: Is the camel jar still getting loaded as well? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (855) BASE-LOGIC: