Re: Camel Context Metrics

2016-08-15 Thread James Strachan
Prometheus is an awesome way to collect metrics from containers, JVMs, Camel contexts and other processes: https://prometheus.io/ We use it in fabric8 (http://fabric8.io/) to collect metrics from docker containers, kubernetes and any JVM which contains JMX or Camel. Adding Agent Bond to any JVM

Re: Camel drop equialent?

2013-11-13 Thread James Strachan
Which JMS provider? Most JMS providers have support for clearing a queue via JMX (e.g. ActiveMQ does). On 13 November 2013 13:18, defy michal.gu...@gmail.com wrote: Hello, I tried to setup camel interceptor which would drop all messages on queue: camelContext id=camel

Re: Camel drop equialent?

2013-11-13 Thread James Strachan
On 13 November 2013 14:20, defy michal.gu...@gmail.com wrote: Hello James, I am using Activemq - I know purging the queue via jmx is an option but I am looking for a way to create temporary blackhole queue. Of course I could use jmx purging or fake consumer that would just drop the

Re: How to Deploy new Camel Context with Hawtio

2013-11-05 Thread James Strachan
As I said; the easiest thing is to just use Fuse Fabric as we've lots of documentation and out of the box examples that just work. However if you want to use the spring watcher directly try this: Try putting a spring camel XML file inside the spring folder (not /sping) within the git repo? e.g.

Re: How to Deploy new Camel Context with Hawtio

2013-11-04 Thread James Strachan
Just create your own WAR inheriting from the hawtio-base or hawtio-default wars: https://github.com/hawtio/hawtio/blob/master/sample/pom.xml#L17 then add the jar dependency like this (its currently commented out in the sample project)

Re: How to Deploy new Camel Context with Hawtio

2013-11-03 Thread James Strachan
To be able to add/update/remove camel contexts based on changes to the hawtio wiki, you either need to run a Fuse Fabric (which automatically adds/updates/removes any bundles running blueprint/spring XML in a container if its updated in the profile's wiki directory) or run a spring/blueprint

Re: hawtio - modular

2013-10-18 Thread James Strachan
Hey Adam On 18 October 2013 06:33, aedwards a...@middleware360.com wrote: Hey guys, there doesn't seem to be a forum for hawtio, so figured this is as good place as any to discuss. Let me know if there's a better spot. Sure. Up to now we've just been using github issues but here's cool too

Re: hawtio - modular

2013-10-18 Thread James Strachan
On 18 October 2013 08:53, James Strachan james.strac...@gmail.com wrote: Hey Adam On 18 October 2013 06:33, aedwards a...@middleware360.com wrote: Hey guys, there doesn't seem to be a forum for hawtio, so figured this is as good place as any to discuss. Let me know if there's a better

Re: Camel Console - Not able to bring it up

2013-09-19 Thread James Strachan
The exception message describes the problem; the servlet endpoint doesn't support producing (i.e. sending messages to it) only consuming. Though hawtio should be smart enough to detect that and then hide the Send tab. I've raised an issue to track this: https://github.com/hawtio/hawtio/issues/560

Re: Keep the same message in a queue after consuming it.

2013-09-12 Thread James Strachan
The way to do this with messaging is either to rollback (to effectively cancel consuming it) or send the message again On 12 September 2013 07:56, Cecilio Alvarez cecilio.alva...@hotmail.comwrote: Hi, is possible to consume a message from a queue in ActiveMQ and keep it in the queue for the

Re: Keep the same message in a queue after consuming it.

2013-09-12 Thread James Strachan
I don't really grok what you're trying to do or why ;) Wanna explain it? You want to keep processing the same message again and again until there's another one? On 12 September 2013 08:40, Cecilio Alvarez cecilio.alva...@hotmail.comwrote: Thanks for the fast answer. I can't send the message

Re: Camel-jetty and hawt.io

2013-09-11 Thread James Strachan
On 11 September 2013 03:04, Mark elihusma...@gmail.com wrote: I have some Camel routes that I have running in a standalone java app, and I'd like to embed hawt in the JVM. Is it possible to do since Camel and Hawt will want their own jetty instance running in the JVM? Sure. Or you could run

Re: Camel-jetty and hawt.io

2013-09-11 Thread James Strachan
On 11 September 2013 15:11, Mark elihusma...@gmail.com wrote: There may be a larger problem WRT dependencies though. Is there a way to embed hawt into an existing jetty instance programatically? Sure, just add the hawtio-default.war On Wed, Sep 11, 2013 at 6:30 AM, James Strachan

Re: Camel-jetty and hawt.io

2013-09-11 Thread James Strachan
...@gmail.com wrote: Then what? I added the dependency to the pom.xml. I can't find any documentation and what the next step would be. On Wed, Sep 11, 2013 at 10:16 AM, James Strachan james.strac...@gmail.comwrote: On 11 September 2013 15:11, Mark elihusma...@gmail.com wrote: There may

Re: Programmatic vs URI based endpoint definition

2013-09-03 Thread James Strachan
On 2 September 2013 21:52, Tom Ellis telli...@gmail.com wrote: Hi All, I asked this on stackoverflow [1] and didn't get a response, but this is obviously a better spot to get questions answered. Consider the following: public class MyRouteBuilder extends RouteBuilder { @Override

Re: running hawtio in standalone camel app

2013-09-03 Thread James Strachan
One quick option is to run hawtio stand alone via its executable jar then connect to any other JVM: http://hawt.io/getstarted/index.html Though if you want to run hawtio camel stand alone, outside of a container (by embedding an internal Jetty container under the covers) I raised this issue to

Re: Camel in Openshift

2013-07-23 Thread James Strachan
I'm working with Ioannis on a Fuse OpenShift cartridge so that folks can easily run all of Fuse on OpenShift, visualise their camel routes, edit them on the fly with custom palettes from a web browser, provision them, do rolling upgrades view real time metrics etc. i.e. the full iPaaS demo on

Re: jsf and apache camel

2013-07-23 Thread James Strachan
On 22 July 2013 11:26, lassesvestergaard lassesvesterga...@gmail.com wrote: Thank you very much James. I ended up using JSF. I found out how to integrate Camel into a JSF application. I'm not sure it's the best way, but it seems to work (please enlighten me if you know a better solution).

Re: Camel in Openshift

2013-07-23 Thread James Strachan
On 23 July 2013 20:13, wcpolicarpio walter.policar...@morgansolar.com wrote: Hi James, That would be awesome! I will definitely anticipate your new cartridge. Cool, I'll reply to this thread when I've got a blog on how to get started. I saw the hawt.io interface and it looks cool. Thanks!

Re: jsf and apache camel

2013-07-18 Thread James Strachan
You could learn angularjs (instead of JSF) and camel together, which is way cooler and more fun - then hack on hawtio :) More below... On 17 July 2013 20:18, lassesvestergaard lassesvesterga...@gmail.com wrote: Hi all. I'm learning camel and jsf at the same time. What I want to do is to

Re: How to use hawtio with Camel web app?

2013-07-18 Thread James Strachan
On 18 July 2013 18:46, Chris Wolf cwolf.a...@gmail.com wrote: I would like to use hawtio's Camel route diagram view for inspecting and displaying routes. http://hawt.io/getstarted/index.html Since the app will be deployed in a private Intranet, I tried their offline WAR:

Re: How to use hawtio with Camel web app?

2013-07-18 Thread James Strachan
On 18 July 2013 20:51, Chris Wolf cwolf.a...@gmail.com wrote: Thanks for getting back to me. This didn't work - the first problem was an incompletely declared WEB-INF/web.xml root element, which I fixed, What change did you make? Any chance of a pull request or at least a gist of the

Re: Camel Development in eclipse

2013-07-08 Thread James Strachan
Here's the latest download link: http://www.jboss.org/products/fuse or grab the source yourself from github https://github.com/fusesource/fuseide On 8 July 2013 07:49, vinay vinay_samu...@yahoo.com wrote: Thanks Jyothi, is following update site correct? http://repo.fusesource.com/ide/

Re: Camel Development in eclipse

2013-07-08 Thread James Strachan
On 8 July 2013 08:12, vinay vinay_samu...@yahoo.com wrote: I did installed plugin from http://repo.fusesource.com/ide/ but fuse perspective is not available. Please use these downloads; they are the latest: http://www.jboss.org/products/fuse BTW there isn't a Fuse perspective. Try creating

Re: EIP Support for Lucidcharts

2013-04-26 Thread James Strachan
Cool. Incidentally Fuse IDE has an Export Diagram option (right click on the canvas), so you can export your camel route image to JPG/BMP for inclusion into PowerPoint etc. On 26 April 2013 01:36, alexb ca...@budt.com wrote: Vote to support EIP integration in lucidchats. Good design tools will

Re: EIP Support for Lucidcharts

2013-04-26 Thread James Strachan
On 26 April 2013 12:03, alexb ca...@budt.com wrote: Agree, Fuse IDE has an excellent route designer tool. Lucidcharts, however, has plugins to allow modeling and collaborative editing of diagrams from Jira, Confluence, Jive, or Google Apps. Good point :) FWIW Hawtio now supports

Re: [ANN] hawtio: a new lightweight HTML5 console for Apache Camel, ActiveMQ, JMX, OSGi Fuse Fabric

2013-01-28 Thread James Strachan
On 27 January 2013 18:43, Christian Müller christian.muel...@gmail.comwrote: Hi James (and all others involved creating this product)! Congrats for this product. It looks awesome (without having the time to go into the details until now). I wish you success with it. Many thanks! At

Re: [ANN] hawtio: a new lightweight HTML5 console for Apache Camel, ActiveMQ, JMX, OSGi Fuse Fabric

2013-01-28 Thread James Strachan
mvn:io.hawt/hawtio-web/1.0-SNAPSHOT/war Best, Christian On Fri, Jan 25, 2013 at 10:59 AM, James Strachan james.strac...@gmail.com wrote: For the impatient just look here :) http://hawt.io/ Background == We've had numerous consoles all over the place for some time in various projects

[ANN] hawtio: a new lightweight HTML5 console for Apache Camel, ActiveMQ, JMX, OSGi Fuse Fabric

2013-01-25 Thread James Strachan
For the impatient just look here :) http://hawt.io/ Background == We've had numerous consoles all over the place for some time in various projects like Felix, Karaf, ActiveMQ, Camel, Tomcat, Fuse Fabric to name but a few. Many of them quite heavy weight requiring a custom web app to be

Re: [ANN] hawtio: a new lightweight HTML5 console for Apache Camel, ActiveMQ, JMX, OSGi Fuse Fabric

2013-01-25 Thread James Strachan
still new in those things, so most probably I just did something wrong, or over-complicated :) On Fri, Jan 25, 2013 at 10:59 AM, James Strachan james.strac...@gmail.comwrote: For the impatient just look here :) http://hawt.io/ Background == We've had numerous consoles all over

Re: [ANN] hawtio: a new lightweight HTML5 console for Apache Camel, ActiveMQ, JMX, OSGi Fuse Fabric

2013-01-25 Thread James Strachan
On 25 January 2013 11:51, Łukasz Dywicki l...@code-house.org wrote: Gentelmans, Especially from Fuse. We have something similar already in Karaf repository and it's called WebConsole. It been there since 2011. I'm sure you was aware of that, especially Guilliaume. I'm aware of most of the

Re: [ANN] hawtio: a new lightweight HTML5 console for Apache Camel, ActiveMQ, JMX, OSGi Fuse Fabric

2013-01-25 Thread James Strachan
On 25 January 2013 12:58, Preben.Asmussen p...@dr.dk wrote: Gave it a ride to test it and it looks awesome. http://camel.465427.n5.nabble.com/file/n5726252/hawt.io.png Thanks! Still prefer VisualVM when it comes to monitoring though. Besides JMX threads, CPU and mem can be accessed here

Re: ActiveMQ, Camel and Spring

2012-09-19 Thread James Strachan
On 19 September 2012 15:57, Hadrian Zbarcea hzbar...@gmail.com wrote: Actually activemq-camel and camel-exec don't work well together because of a TypeConverter in activemq-camel. Got any details of the problem the type converters in activemq-camel cause camel-exec? -- James ---

Re: Best practice to generate complexe HTML

2011-12-13 Thread James Strachan
On 13 December 2011 11:51, Sol Ido sol...@robbieone.com wrote: Thank you Claus I really like Scala and i have to consider the combinaison of Scalate and Jade as a generator since i'm still looking for a complete solution. As an aside Scalate supports a few different template languages; the 2

Re: Is RMS faster than JMS?

2011-11-23 Thread James Strachan
If you can use asynchronous messaging, then messaging is typically much faster (especially when you start to use transaction batching) as you're not sat blocking waiting on RPC calls. e.g. on the consumer side, the message broker will asynchronously stream messages into your process space so

Re: Is RMS faster than JMS?

2011-11-23 Thread James Strachan
On 23 November 2011 14:02, KingAndrew andrew.b...@bbtech.net wrote: Thanks for the input.  The whole question comes from my clients that have used corba/rmi for 15 years.  Now that we are switching to Camel/ActiveMQ/JMS they all say:  It might scale better but I don't see how it can be as fast

Re: Some indication on when 2.8.0 could be released.

2011-07-15 Thread James Strachan
On 15 July 2011 11:21, Don Doffe forrestl...@gmail.com wrote: Babak, I had a  problem with camel deployment to JBoss. There was a need for a special library to enable scanning of the custom packages as camel components, and a configuation line in appContext.xml (assuming you are using

Re: Camel Web Console Questions

2011-05-26 Thread James Strachan
I agree with everything Jim just said :) So I'm sure we can trim the size down. e.g. we don't really need the scala compiler for deployment; we can compile all the templates at build time (though its very handy using it at development time for rapid reloading of templates as you edit them on the

Re: Camel Web Console Questions

2011-05-26 Thread James Strachan
On 26 May 2011 12:57, Jim Talbut jtal...@spudsoft.co.uk wrote: On 26/05/2011 11:51, James Strachan wrote: Also we don't need to rewrite camel-web just to provide support for multiple contexts; all thats really required is one or two resource beans using the OSGi or JMX API to discover

Re: camel gui

2011-05-05 Thread James Strachan
On 4 May 2011 21:39, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi all, do you have any informations about a gui for camel or a route diagram generator? I know fuse did some work around the eclipse framework but will it be integrated into the community version? FWIW the community

Re: camel gui

2011-05-05 Thread James Strachan
On 5 May 2011 14:06, Romain Manni-Bucau rmannibu...@gmail.com wrote: yes but only in XML format, no? Its a visual designer/editor - but the output format is currently XML yes. -- James --- FuseSource Email: ja...@fusesource.com Web: http://fusesource.com Twitter: jstrachan, fusenews Blog:

Re: Order and concurrent consumers JMS

2011-04-18 Thread James Strachan
On 18 April 2011 15:14, Erlend Hamnaberg ngar...@gmail.com wrote: Hello list. I am trying to use concurrent consumers pattern with JMS. The use case is: Messages from each sender needs to be kept in order. Sender A, B and C. Messages sent: A1, B1, C1, B2, A2, C2, C3, A3, B3 Output:

Re: Does activemq/jms component have keepalive option?

2011-04-05 Thread James Strachan
If you don't set any ConnectionFactory on the ActiveMQ component, you should have pooling setup correctly which should pool a single connection. e.g. just set the brokerURL property on the ActiveMQ component. Whats your spring XML look like? On 4 April 2011 16:54, Tom Howe tomh...@artcore.com

Re: Any Plan for camel to be integrated with CDI

2011-03-30 Thread James Strachan
BTW it looks like the original post has gone to nabble but not yet been approved on the apache lists. FWIW we've designed Camel to work with or without any Dependency Injection framework (e.g. Spring or Guice) or Registry (JNDI / Spring / OSGi etc). So it should be trivial to add support for CDI

Re: Service architecture

2011-03-29 Thread James Strachan
On 29 March 2011 11:58, gonzalo diethelm gdieth...@dcv.cl wrote: Hi Gonzalo. Hi Claus, thanks for your insight. 0. First off, does it really make sense to turn my back to J(2)EE?  I know I would be giving up a significant amount of baseline, but I am really hungry for some lean and mean

Re: Mock endpoints and parameters

2011-03-18 Thread James Strachan
Another option is to create a Mock endpoint and register it into the context as the URI you want. context.addEndpoint(smtp://host:?username=smtpusernamepassword=smtppassword, new MockEndpoint()); On 18 March 2011 14:34, Claus Ibsen claus.ib...@gmail.com wrote: On Thu, Mar 17, 2011 at 7:43

Re: [EIP] Can you please help me choose a correct design pattern ?

2011-03-08 Thread James Strachan
On 8 March 2011 09:59, Maxence Button maxence.but...@gmail.com wrote: Hi Claus ! Thank you for welcoming me in the Camel community. I'm honored that you replied to my question . Yet, I'm afraid it's not that simple : as I wrote it earlier, I played with the Aggregator and I guess it's

Re: Abstracting Routes using Components

2011-03-03 Thread James Strachan
2011/3/1 Björn Bength bjorn.ben...@gmail.com: On Tue, 2011-03-01 at 09:10 +, James Strachan wrote: On 28 January 2011 07:19, Willem Jiang willem.ji...@gmail.com wrote: On 1/28/11 4:36 AM, Mond Raymond wrote: Any more news on this? Ashwin already committed a camel-routebox component

Re: Abstracting Routes using Components

2011-03-01 Thread James Strachan
On 28 January 2011 07:19, Willem Jiang willem.ji...@gmail.com wrote: On 1/28/11 4:36 AM, Mond Raymond wrote: Any more news on this? Ashwin already committed a camel-routebox component[1] into the Camel 2.6.0, and we will release it shortly. [1]https://cwiki.apache.org/CAMEL/routebox.html

Re: Turning CamelContexts into black boxes for reuse and composition (was Re: Abstracting Routes using Components

2011-02-28 Thread James Strachan
On 14 February 2011 03:49, Willem Jiang willem.ji...@gmail.com wrote: On 2/11/11 5:50 PM, James Strachan wrote: On 10 February 2011 20:13, Ashwin Karpeaka...@fusesource.com  wrote: Hi James, I like the approach. It certainly replaces the need to have a Strategy and eliminates the need

Re: Turning CamelContexts into black boxes for reuse and composition (was Re: Abstracting Routes using Components

2011-02-28 Thread James Strachan
On 11 February 2011 09:50, James Strachan ja...@fusesource.com wrote: On 10 February 2011 20:13, Ashwin Karpe aka...@fusesource.com wrote: Hi James, I like the approach. It certainly replaces the need to have a Strategy and eliminates the need to inject a context into a component. Thanks

Re: Turning CamelContexts into black boxes for reuse and composition (was Re: Abstracting Routes using Components

2011-02-11 Thread James Strachan
On 10 February 2011 20:13, Ashwin Karpe aka...@fusesource.com wrote: Hi James, I like the approach. It certainly replaces the need to have a Strategy and eliminates the need to inject a context into a component. Thanks! Am sure there's uses for the RouteBox approach when folks want to do

Re: How to extend the Spring DSL ?

2011-02-10 Thread James Strachan
On 10 February 2011 11:25, sebastien.petrucci sebastien.petru...@gmail.com wrote: Thank you for your answer. I just would like to better explain what I'm doing. I work on a product which is an integration platform for the financial world. This product is used in some banks and coporates.

Turning CamelContexts into black boxes for reuse and composition (was Re: Abstracting Routes using Components

2011-02-10 Thread James Strachan
I thought I'd bring this thread back to life again :). We've had a few other threads brainstorming and explaining this in the past... http://camel.465427.n5.nabble.com/implementing-Protocols-or-a-way-to-make-it-easier-to-black-box-routes-and-compose-them-with-other-ros-td3218777.html#a3218777

Re: How to extend the Spring DSL ?

2011-02-10 Thread James Strachan
On 10 February 2011 13:08, sebastien.petrucci sebastien.petru...@gmail.com wrote:  Thanks for your comments James. I will definitly looks closer at BAM and see what I can learn from it. My focus is currently on the XML DSL. I already made some components and I agree that this is a usable and

Re: Freeing objects returned by type converter

2011-01-07 Thread James Strachan
On 7 January 2011 14:51, David Tombs cyan.s...@gmail.com wrote: Hello all, I have recently started using camel and it's fantastic. Thanks for all your hard work, committers. Thanks! One issue I came across is whether I should free or close objects returned by a type converter. For example,

Re: Freeing objects returned by type converter

2011-01-07 Thread James Strachan
On 7 January 2011 14:55, James Strachan ja...@fusesource.com wrote: On 7 January 2011 14:51, David Tombs cyan.s...@gmail.com wrote: One issue I came across is whether I should free or close objects returned by a type converter. For example, I have a class that reads some binary data from

Re: Camel gui based route build questions..

2011-01-05 Thread James Strachan
Hi Sumit On 3 January 2011 08:00, sumit singh sumit.si...@caerussoft.com wrote: Hello Everyone, We are camel users and use it for couple of our orchestration activities. Right now we  running out ways to manage and design camel routes so we are in dire need of a graphical designer . I hear

Re: [Subjective] Which is best? Bean Binding or Explicit Processors?

2010-11-11 Thread James Strachan
On 11 November 2010 15:33, Scott Parkerson s...@snortasprocket.net wrote: Camel riders, I've been working on various approaches to a message-driven solution here at $WORK for quite some time, and I must say first of all that I totally love Camel. Great stuff, thanks! That said,

Re: Custom component Vs Custom processor

2010-11-10 Thread James Strachan
On 9 November 2010 10:48, unmarshall unmarsh...@gmail.com wrote: Hi All, I have a very basic question. When do you decide to create a custom component Vs creating a custom processor. A camel component implementation has a processor either in terms of producer or consumer or both. The

Re: Endpoint construction

2010-10-28 Thread James Strachan
On 28 October 2010 09:23, Bruno Dusausoy bdusau...@yp5.be wrote: Hi, I have a small question about Endpoint construction. I'm trying to construct an endpoint programmatically. But I am missing something and I don't know what it is. Take, for example, a simple case : public class

Re: Endpoint construction

2010-10-28 Thread James Strachan
On 28 October 2010 10:25, Bruno Dusausoy bdusau...@yp5.be wrote: On Thu, 28 Oct 2010 11:04:49 +0200, Claus Ibsen claus.ib...@gmail.com wrote: [...] You could most likely use setEndpointUriIfNotSpecified to set a pseudo id, to differentiate the 2 of them Indeed, it works. I've searched

Re: Abstracting Routes using Components

2010-10-28 Thread James Strachan
On 28 October 2010 15:01, Ashwin Karpe aka...@fusesource.com wrote: Hi JStrachan, Agreed. Protocols are just kinds of Component. My initial ProtocolBuilder was a bit of a strawman focussing more on them also being a RouteBuilder to get the Java DSL; but in many ways its probably more

Re: How to get route information

2010-10-28 Thread James Strachan
On 28 October 2010 15:17, Ashwin Karpe aka...@fusesource.com wrote: Hi, In any given processor, or any code that has access to a camel context, you could do the following       ListRoute routes = getCamelContext().getRoutes; Or there's: ListRouteDefinition definitions =

Re: Abstracting Routes using Components

2010-10-27 Thread James Strachan
On 26 October 2010 19:21, Hadrian Zbarcea hzbar...@gmail.com wrote: There are a few issues we need to sort out. One is that with something like this: from(blackboxroute1://out)... You'd have to deal with naming. If everybody will define her blackboxroute1 you'll have to deal with name

Re: Abstracting Routes using Components

2010-10-27 Thread James Strachan
Great discussion Kristof! More inline... On 26 October 2010 22:12, kristofsajdak kristof.saj...@gmail.com wrote: jstrachan wrote: Or to say that a slightly different way; if you just want a parameterised RouteBuilder, well thats just a bean; no need for anything new, Camel can do that nicely

Re: Abstracting Routes using Components

2010-10-26 Thread James Strachan
On 26 October 2010 16:17, Hadrian Zbarcea hzbar...@gmail.com wrote: So the idea is to use route templates and in order to parameterized them use URIs the camel way. That's nice and consistent. There are a few different options here... i) a parameterized RouteBuilder which can be dependency

Re: Abstracting Routes using Components

2010-10-26 Thread James Strachan
On 26 October 2010 16:40, Ashwin Karpe aka...@fusesource.com wrote: Hi Hadrian, Not sure if you recall, but we had discussed a similar idea about 8-10 months ago when I was on a consulting gig where we were trying to do something similar (not exactly components, but black boxed subroutes) so

Re: [Hookpoint] Extensible routes ?

2010-10-08 Thread James Strachan
On 8 October 2010 05:26, Ashwin Karpe aka...@fusesource.com wrote: Hi, You can use vm:... provided there are multiple Camel contexts with routes running in the same VM It actually has to be the same class loader. If you're not very careful with OSGi, you can have different bundles using

Re: [Hookpoint] Extensible routes ?

2010-10-08 Thread James Strachan
On 6 October 2010 13:02, Olivier.Roger olivier.ro...@bsb.com wrote: Hello Camel! I was wondering how routes could be extensible. I thougth I could use the following idea to do it but I appears to be otherwise: The route I created is pretty simple: It picks up message from A, transform it

Re: latformTransactionManager not found in 2.4.0

2010-07-20 Thread James Strachan
On 20 July 2010 14:21, Ron Smith ron.sm...@valkyresoftware.com wrote: I am really not trying to be difficult, I promise (imagine if I were :-) ) So, there are Spring JARs that are now required for camel 2.4.0 but are not included in the binary distribution because the new version of Sping, has

Re: JMS Component WITHOUT Spring

2010-07-20 Thread James Strachan
On 19 July 2010 22:12, Ron Smith ronsmit...@gmail.com wrote: I'm with you, Jim. I think that is part of why others at my company consider spring to be evil -- for a light-weight framework, there sure are a lot of pieces you have to include and they seem to be growing and becoming more

Re: JMS Component WITHOUT Spring

2010-07-20 Thread James Strachan
On 20 July 2010 16:38, Ron Smith ron.sm...@valkyresoftware.com wrote: Unfortunately, all those cool features (especially pooling and reconnect) are exactly why I was wanting to use something like camel. This isn't the first time that this companies unreasonable biases have limited my choices

Re: latformTransactionManager not found in 2.4.0

2010-07-20 Thread James Strachan
On 20 July 2010 16:51, Ron Smith ron.sm...@valkyresoftware.com wrote: I hadn't thought about it that way, James, but does that mean there needs to be some distinction between what is core functionality and what is add-in functionality? There kinda already is :). camel-core.jar is the core :).

Re: org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: java.util.HashMap to the required type: org.apache.xmlbeans.XmlObject

2010-07-16 Thread James Strachan
On 16 July 2010 12:46, Claus Ibsen claus.ib...@gmail.com wrote: Hi Do you need to use xmlbeans? I would suggest to try out JAXB or XStream instead. I concur with Claus; XmlBeans is a bit sucky, JAXB/XStream is a little better if you can use it. Whatever you use though, you can write a

Re: Camel 2.4.0 - com.sun.tools?

2010-07-16 Thread James Strachan
On 16 July 2010 16:44, Glebow, Philip philip.gle...@blackrock.com wrote: camel-spring, camel-jms and camel-core have a dependency on the tools artifact from com.sun when building with Maven.  Is this required? We use Suns jaxb tools to code generate the Camel XSD from our JAXB beans - is that

Re: Camel 2.4.0 - com.sun.tools?

2010-07-16 Thread James Strachan
On 16 July 2010 16:49, James Strachan james.strac...@gmail.com wrote: On 16 July 2010 16:44, Glebow, Philip philip.gle...@blackrock.com wrote: camel-spring, camel-jms and camel-core have a dependency on the tools artifact from com.sun when building with Maven.  Is this required? We use Suns

Re: Camel 2.4.0 - com.sun.tools?

2010-07-16 Thread James Strachan
On 16 July 2010 16:55, James Strachan james.strac...@gmail.com wrote: On 16 July 2010 16:49, James Strachan james.strac...@gmail.com wrote: On 16 July 2010 16:44, Glebow, Philip philip.gle...@blackrock.com wrote: camel-spring, camel-jms and camel-core have a dependency on the tools artifact

Re: Camel 2.4.0 - com.sun.tools?

2010-07-16 Thread James Strachan
Here's another way to see the dependencies - as a nice graphical picture... mvn org.fusesource.mvnplugins:maven-graph-plugin:1.7:project more details: http://mvnplugins.fusesource.org/ -- James --- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/

Re: Multiple Camel Contexts - why?

2010-06-30 Thread James Strachan
On 30 June 2010 09:32, Adrian Trenaman trena...@progress.com wrote: Hi Gallapagus, In general, you don't tend to want multiple camel contexts in your application, if you're running Camel as a standalone Java instance. However, if you're deploying Camel routes as OSGi bundles, or WARs in an

Re: [Discuss] Apache Camel - Clustering/Loadbalancing solutions (inventory)

2010-02-26 Thread James Strachan
On 26 February 2010 12:45, Charles Moulliard cmoulli...@gmail.com wrote: On the wiki page of camel concerning vm, they suggests that vml:// can be used across different JVM Here is the text : This component differs from the SEDA component in that VM supports communication across

Re: [Discuss] Apache Camel - Clustering/Loadbalancing solutions (inventory)

2010-02-25 Thread James Strachan
On 25 February 2010 16:28, Charles Moulliard cmoulli...@gmail.com wrote: Hi, If we investigate what Camel 2.x project proposes in terms of clustering/loabalancing solution, we can categorize the solutions like this : 1. Loadbalancing loadbalance() :

Re: Design and ability questions (multiple questions)

2010-02-24 Thread James Strachan
On 23 February 2010 22:03, Eibwen gwal...@sedonatek.com wrote: I'm completely new to message queues, i've been looking at the ActiveMQ and Camel website all day but the concepts are not fully clicking for my specific situation. I've read most of the FAQs but i think i'm still not seeing how

Re: Xml Parsing using camel

2010-02-10 Thread James Strachan
On 10 February 2010 09:11, NagendraCorpus marimekala.nagen...@gmail.com wrote: Hi, how to do xmlparsing  using camel javadsl , please rply soon.:confused: Depends what you want to parse the XML into. Here's how you could parse some XML into a DOM... public class MyBean {

Re: How to do xmlvalidation using camel

2010-02-10 Thread James Strachan
On 10 February 2010 09:14, NagendraCorpus marimekala.nagen...@gmail.com wrote: Hi, how to xmlvalidation using cameljavadsl , please explain how to do . see http://camel.apache.org/validation.html google can find that one quite easy :) http://lmgtfy.com/?q=camel+xml+validation -- James

Re: route debugging

2010-01-11 Thread James Strachan
2010/1/11 yaog yairo...@gmail.com: well, If I have; route id=route1                        from uri=direct:start /                        to uri=bean:compAImpl /                        to uri=jms:compB /                        to uri=bean:compBImpl / /route and compBImpl returns a

Re: route debugging

2010-01-11 Thread James Strachan
2010/1/11 yaog yairo...@gmail.com: Basically, I am evaluating Camel at the moment. It is desired by our architecture to have routes that activate different beans (through different queues) and be able to get their responses back to the caller thread. So to activate your two beans when a

Re: route debugging

2010-01-11 Thread James Strachan
2010/1/11 yaog yairo...@gmail.com: Claus Ibsen-2 wrote: You need a consumer on the JMS queue to send back the reply on the temporary JMS queue. If you do not use Camel for that then you need some other stuff to do that. If you want to use Camel for that then you need to create a 2nd

Re: Message Groups with other Messaging-Provider

2010-01-05 Thread James Strachan
2010/1/5 waterback mart...@innoq.com: Hi Camel-Users, i have a question regarding the Messaging Groups feature... i am not really sure, reading the documentary if Message Groups is an ActiveMQ-Feature or a Camel-Feature, so that in the latter case i would think you could use Message Groups

Re: Issue trying to browse a activemq queue

2010-01-04 Thread James Strachan
BTW it looks like you are confusing the queue name in JMS with the JNDI name in JNDI. Incidentally a simpler alternative to using the JNDI API to lookup the queue then using the JMS API to use a queue browser is to just use the BrowseableEndpoint API in Camel...

Re: Issue trying to browse a activemq queue

2010-01-04 Thread James Strachan
2010/1/4 Ricardo Melo rica...@cflex.com.br: Thank you all fot the answers. It works now with the Browsable endpoint, thanks! Very clean and elegant solution. Glad it worked :) BTW as Claus mentions, its actually inefficient under the covers if all you want is the size as it basically loads

Re: Sharing a CamelContext across several bundles

2009-12-22 Thread James Strachan
2009/12/22 Adrian Trenaman trena...@progress.com: Might be a bit tricky: maybe you could declare the context in one bundle, register it as an osgi service, and then pull it in to the routes in your other bundles. Another approach I've used in the past is to provide an osgi service for each

Re: Web Console configuration

2009-12-22 Thread James Strachan
2009/12/21 mistrz grok...@edmunds.com: How do I configure Web Console to look at my routes? The web console starts by loading the Spring applicationContext.xml file in WEB-INF. Put whatever routes you want in there (or include them from that spring XML file). Is there a parameter to define

Re: Sharing a CamelContext across several bundles

2009-12-22 Thread James Strachan
2009/12/22 TheWinch vincent.girardrey...@thalesgroup.com: What's the difference between using an optimized in-vm JMS endpoint and a NMR endpoint, apart from the required infrastructure (having a JMS factory on one side and the NMR bundles on the other) ? Do they use different

Re: Kind of Grid schedule. Is this possible with Camel?

2009-12-18 Thread James Strachan
A message queue is a reliable load balancer; so using a single queue with multiple competing consumers sounds good to me. 2009/12/18 Schneider Christian christian.schnei...@enbw.com: Hi all, I have a system that offer several soap/jms services each on it´s own queue. For load balancing and

Re: Jersey No Longer Supported?

2009-12-10 Thread James Strachan
FWIW the aim of camel-web is to provide a REST front end to all of Camel its features (like endpoints, routes, components, languages, type converters etc) and to allow things to be modified RESTfully from any language (e.g. browsing messages on BrowsableEndpoints, sending messages to endpoints,

Re: question: best practice to use camel's Producer class

2009-12-10 Thread James Strachan
2009/12/10 Nick Chistyakov chiko...@gmail.com: Hi guys, What is actually the best practice to use camel's Producer class? Is it expensive to create, for example, to create it every time when message is processed. Or is it better to store a reference to it somewhere in a class scope? FWIW

Re: question: best practice to use camel's Producer class

2009-12-10 Thread James Strachan
2009/12/10 Nick Chistyakov chiko...@gmail.com: Hello James, Thanks for a fast response! My question is actually about Producer - not about Processor. Your answer is not less valuable though :)) DOH! :) That'll teach me to answer emails when I'm jetlagged, its early in the morning and I've

Re: No camel-clock? How does one test?

2009-12-01 Thread James Strachan
2009/12/1 Barry Kaplan grou...@memelet.com: Looking thru 2.1, there really aren't too many places where System.* time methods are used. Would Camel be interesting in patch that provides a clock abstraction (with just the two System.* time methods) where the default implementation would be

Re: Question On Using Spring Remoting Against Camel Remoting

2009-11-10 Thread James Strachan
2009/11/10 Carlo Camerino carlo.camer...@gmail.com: Hi, I have this question. We have a requirement in a project in which we have to use remoting for our application. Reading the Spring Documentation, it says that it is possible to do remoting via Spring Remoting Facilities. They have

  1   2   >