public abstract class JCSMPConsumerFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static JCSMPConsumerFactory |
connectionConsumer
The factory for use with ConnectionConsumers, which use a FAKE transaction strategy.
|
static JCSMPConsumerFactory |
standard
The standard consumer factory uses transacted-sessions when appropriate to link the calling soljms
consumer with a JCSMP transacted session.
|
| Constructor and Description |
|---|
JCSMPConsumerFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract Consumer |
createDurableJCSMPConsumer(SessionProperties props,
XMLMessageListener listener,
ConsumerFlowProperties flowProps) |
abstract Consumer |
createDurableJCSMPConsumer(SessionProperties props,
XMLMessageListener listener,
FlowEventHandler flowEventHandler,
ConsumerFlowProperties flowProps) |
abstract Consumer |
createNonDurableJCSMPConsumer(SessionProperties props,
XMLMessageListener listener,
ConsumerFlowProperties flowProps,
EndpointProperties endpointProps) |
abstract Consumer |
createNonDurableJCSMPConsumer(SessionProperties props,
XMLMessageListener listener,
FlowEventHandler flowEventHandler,
ConsumerFlowProperties flowProps,
EndpointProperties endpointProps) |
public static final JCSMPConsumerFactory standard
public static final JCSMPConsumerFactory connectionConsumer
public abstract Consumer createDurableJCSMPConsumer(SessionProperties props, XMLMessageListener listener, ConsumerFlowProperties flowProps) throws JCSMPException
JCSMPExceptionpublic abstract Consumer createNonDurableJCSMPConsumer(SessionProperties props, XMLMessageListener listener, ConsumerFlowProperties flowProps, EndpointProperties endpointProps) throws JCSMPException
JCSMPExceptionpublic abstract Consumer createDurableJCSMPConsumer(SessionProperties props, XMLMessageListener listener, FlowEventHandler flowEventHandler, ConsumerFlowProperties flowProps) throws JCSMPException
JCSMPExceptionpublic abstract Consumer createNonDurableJCSMPConsumer(SessionProperties props, XMLMessageListener listener, FlowEventHandler flowEventHandler, ConsumerFlowProperties flowProps, EndpointProperties endpointProps) throws JCSMPException
JCSMPExceptionCopyright 2004-2021 Solace Corporation. All rights reserved.