On Dec 5, 2007 7:38 AM, krv <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I want to add restrictions at the ESB for the following properties on a
> message:
>  * Priority
>  * Expiration - Messages should be discarded after the expiration time
>  * Size limitation
> I am currently using ActiveMQ as a transport so I could set these at
> ActiveMQ level. But can anyone please suggest the best methods to enforce
> the above functionality?
>
> Any response is greatly appreciated.

You could create a SU for the servicemix-jms component where you
specify a JMS message selector using the properties you note above.
This consumer would then consume messages that match your selector and
you could just delete those messages. You'd have to use the newest
consumer endpoint (jms:consumer in the xbean.xml file). More
information is available here:

http://servicemix.apache.org/servicemix-jms-new-endpoints.html

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

http://bruceblog.org/

Reply via email to