camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpcook <>
Subject Re: Integration Patterns inside the ActiveMQ Message Broker
Date Fri, 05 Oct 2007 14:44:39 GMT

Doh. ignore last post.
URL styleSheet = getClass().getResource("/xslt/rugbyFixtures.xslt");	

What I would like to be able to do is. read in a message from my jms.  Then
get one of the xml attributes from the message to lookup the location of
where I want to send the output.

I think it is that recipientList pattern. Would that be possible?

Finally I'm not quite sure what I should be doing with exceptions. Just
logging them, and which log will they appear in? 

jpcook wrote:
> So this line doesn't actually compile:
> from("jms:myqueue").process(xslt("myxslt.xsl")).to("file:mydir"); 
> The method xslt is undefined for type MyRouter.
> James.Strachan wrote:
>> On 04/10/2007, jpcook <> wrote:
>>> Thanks for the help. I kind of figured it out reading through the
>>> documentation and there was another post in the forums which was useful.
>>> Just started off by using the simple example in the activemq.xml file
>>> under
>>> camel context to output message from queue Example.A to a file. I can't
>>> believe it is just 2 lines :)
>> Pretty neat eh :)
>>> >We should make this a bit more obvious and easy to setup. e.g. maybe
>>> >we should make it easier to write Java rules by having a rules/src and
>>> >rules/classes directories (rather like web apps) so folks can just
>>> >write Java code for routing rules and have them compiled and added to
>>> >the classloader on startup?
>>> That would be quite cool at the moment I just have an ant script which
>>> builds the jar.
>>> Quite like the other example you referred to of being able to import
>>> other
>>> xml files into the spring one. But think I want to use dsl for the time
>>> being.
>>> One other quick question, do all your classes in the jar have to extend
>>> from
>>> RouteBuilder?
>> The ones that define the Java DSL do yes; though you can have others
>> classes in the jar if you want too.
>>> ps. I may have some more questions once I get past the basic examples.
>> Keep 'em coming! :)
>> -- 
>> James
>> -------
>> Open Source SOA

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message