camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpcook <jonathan.c...@erars.plus.com>
Subject Re: Integration Patterns inside the ActiveMQ Message Broker
Date Fri, 05 Oct 2007 14:26:07 GMT

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 <jonathan.cook@erars.plus.com> 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
> -------
> http://macstrac.blogspot.com/
> 
> Open Source SOA
> http://open.iona.com
> 
> 

-- 
View this message in context: http://www.nabble.com/Integration-Patterns-inside-the-ActiveMQ-Message-Broker-tf4569100s22882.html#a13060564
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message