For #3, I'm using a Spring JmsTemplate:
This is Groovy sample code for a selector...

        String documentIdFieldName = DocumentConversionMessage.DOCUMENT_ID
        String selector = "$documentIdFieldName='$documentId'"
        Message jmsMessage = jmsTemplate.receiveSelected(destination,
selector)
        return DocumentConversionMessage.fromJmsMessage(jmsMessage)


On Mon, Aug 8, 2011 at 10:17 AM, jmls <julian+activ...@dotr.com> wrote:

> I am having one hell of a time trying to get this combination working :(
> Having battled most of the night and all morning, I've thrown in the towel
> and decided to beg for help.
>
> I'm no longer proud :)
>
> Is there any documentation on how to
>
> 1) create a temporary queue
> 2) or create a queue that expires in (say) 2 hours time
> 3) get selectors working
>
> this all has to be using the REST api as there is no client library
> available for the platform I wish to use (the only thing that I have
> available is libcurl / curl )
>
> Many thanks, please put this old battered brain out of it's misery ;)
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/rest-temporary-queues-and-selector-tp3727106p3727106.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to