Re: String processing with Apache Camel with Spring DSL

2011-04-04 Thread John McDonald
If you are using Spring then I would be looking at a POJO to do this parsing work - routing to it using the beanRef - this would encapsulate your string manipulation and leave camel to perform delivery and routing. There are predicates and conditionals you could use in your dsl - but for my t

Error Handling

2011-04-01 Thread John McDonald
I feel this is an embarrassingly simple question - but I've read around and cant get things to happen the way I want. I am using the following dead-letter channel as a strategy for handling errors errorHandler(deadLetterChannel("log:RoutingError?level=ERROR")); but my problem is that I

Re: Asynchronous architecture

2011-03-31 Thread John McDonald
I have seen this kind of operation in place before - SMS providers for example for event driven stuff across the solution boundaries using basically a callback implementation I would * expose an http interface to my solution. I think it would be RESTian for the usual reasons * I would use som

Re: Using Camel with Spring

2011-03-29 Thread John McDonald
I'd recommend the Camel in Action book - it gives an example of what I think you are trying to achieve and you will have a template to build out from On 29 Mar 2011, at 19:56, jpalmer1026 wrote: > Hi, > > I'm a Camel newbie and I'm trying to run a simple example to demonstrate how > to use Ca

Re: Service architecture

2011-03-29 Thread John McDonald
ually Karaf > > Using Camel together with JEE would be interesting. I have not tried it > though. > > Christian > > > Am 29.03.2011 18:56, schrieb John McDonald: >> One doesnt have to be an apologist for liking camel and J2EE - one is a >> container and the oth

Re: AW: Service architecture

2011-03-29 Thread John McDonald
One doesnt have to be an apologist for liking camel and J2EE - one is a container and the other a framework. Their use together is entirely compatible. On 29 Mar 2011, at 13:20, Christian Schneider wrote: > Hi Gonzalo, > > I am a big fan of camel so donĀ“t understand me wrong. > > If you are

Re: Service architecture

2011-03-29 Thread John McDonald
In terms of the expansion - i assume its the Grails v Spring thing - so here goes The annotations in Spring look great - you can specify what method they should match, mapping variables and paths onto the pojo methods and parameters. Very sexy. My concern is that when you are trying to get a

Re: Service architecture

2011-03-29 Thread John McDonald
I was hoping people with more insight into this would contribute - its a good set of questions and this forum is pretty good so I would have appreciated their thoughts and musings. So to ignite things I will chip in. I too want some kind of container support for my java apps that are run from

Re: Bridging from JMS to Websphere

2011-03-11 Thread John McDonald
Thanks for that Tarun I would classify my level of Camel expertise to be just about the same - perhaps 'enthusiast' too - I'm pretty impressed! Camel JMS doesnt know about it because its a WMQ feature is something I have read on several occasions now and this is consistent with your account - w

Re: Bridging from JMS to Websphere

2011-03-11 Thread John McDonald
Thanks Martin No need to apologise - if my post is unclear thats on me - I appreciate you responding. The error is in attempting to set that value but I am unclear why it should be. I can post messages to the queue without error without this addition - its just that when I do the raw message

Bridging from JMS to Websphere

2011-03-11 Thread John McDonald
I am attempting to use the Camel JMS component to deliver messages to a Websphere queue. Whilst the message delivery seems fine it is being wrapped in what I understand to be a JMS wrapper which the consuming client isnt expecting. As a result the message is not being processed correctly. I d