activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: how find a queue?
Date Wed, 06 Jun 2007 09:16:06 GMT
On 6/6/07, Raffaele <r.gambelli@prismasw.it> wrote:
>
> I'm making a sort of wrapping of some of the main classes of ActiveMQ, in
> detail i have:
> - JMSWorker
>
> - QueueWorker extends JMSWorker
> - TopicWorker extends JMSWorker
>
> - QueueBrowser extends QueueWorker
> - QueueConsumer extends QueueWorker
> - QueueProducer extends QueueWorker
>
> - TopicConsumer extends TopicWorker
> - TopicPublisher extends TopicWorker
>
> This wrapping permits me to abstract my code from the JMS implementation, in
> fact till now I used Oracle JMS implementation and so, passing from Oracle
> to ActiveMQ should be as trasparent as possible using the above wrapper
> classes.

FWIW the purpose of the JMS API is to do exactly that, to avoid having
your code dependent on any particulary JMS provider.

If you want an easier facade on top of the JMS API I'd recommend
either the Spring JMS stuff, or Camel
http://activemq.apache.org/camel/

In particular
http://activemq.apache.org/camel/enterprise-integration-patterns.html
-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message