Print
Java Collections

Lingo supports JMS implementations of Java 2 Collections. For example the JmsQueue class implements the BlockingQueue interface from Java 5 (using backport-util-concurrent currently).

This allows you to use the familiar Queue interface from the JDK with POJOs and hide the JMS code.

Under the covers iterating through the collection & querying it is equivalent to using a JMS QueueBrowser. Removing from the queue will actually consume the messages. So you can have multiple threads and multiple processes consuming and adding to the queue concurrently.

Powered by Atlassian Confluence