Class JMSDocumentSource<T>

java.lang.Object
no.mnemonic.messaging.documentchannel.jms.JMSDocumentSource<T>
Type Parameters:
T - document type
All Implemented Interfaces:
AutoCloseable, DocumentSource<T>

public class JMSDocumentSource<T> extends Object implements DocumentSource<T>
JMS version of a document channel source. The source is configured with a JMS session, which points to a JMS server/cluster and a destination, which may be a topic or a queue.

Using multiple sources against a Queue will load-balance the incoming documents between the sources. Using multiple sources against a Topic will provide individual copies of each incoming document to each source.