public class ProducerFlowProperties extends Object
| Constructor and Description |
|---|
ProducerFlowProperties()
ProducerFlowProperties constructor.
|
ProducerFlowProperties(ProducerFlowProperties tocopy)
ProducerFlowProperties copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAckEventMode()
If this property is set to
SUPPORTED_ACK_EVENT_MODE_PER_MSG, the message
acknowledgement event acknowledges a single published Guaranteed message; if this
property is set to SUPPORTED_ACK_EVENT_MODE_WINDOWED, the message acknowledgement
event acknowledges a range of published Guaranteed messages. |
int |
getWindowSize()
The size of the sliding publisher window for Guaranteed messages.
|
ProducerFlowProperties |
setAckEventMode(String ackEventMode)
If this property is set to
SUPPORTED_ACK_EVENT_MODE_PER_MSG, the message
acknowledgement event acknowledges a single published Guaranteed message; if this
property is set to SUPPORTED_ACK_EVENT_MODE_WINDOWED, the message acknowledgement
event acknowledges a range of published Guaranteed messages. |
ProducerFlowProperties |
setWindowSize(int windowSize)
The size of the sliding publisher window for Guaranteed messages.
|
public ProducerFlowProperties()
public ProducerFlowProperties(ProducerFlowProperties tocopy)
tocopy - The ProducerFlowProperties to copypublic int getWindowSize()
public ProducerFlowProperties setWindowSize(int windowSize)
windowSize - The window size for the producer.public String getAckEventMode()
SUPPORTED_ACK_EVENT_MODE_PER_MSG, the message
acknowledgement event acknowledges a single published Guaranteed message; if this
property is set to SUPPORTED_ACK_EVENT_MODE_WINDOWED, the message acknowledgement
event acknowledges a range of published Guaranteed messages. Message acknowledgement events are sent from
JCSMPStreamingPublishCorrelatingEventHandler or JCSMPStreamingPublishEventHandlerpublic ProducerFlowProperties setAckEventMode(String ackEventMode)
SUPPORTED_ACK_EVENT_MODE_PER_MSG, the message
acknowledgement event acknowledges a single published Guaranteed message; if this
property is set to SUPPORTED_ACK_EVENT_MODE_WINDOWED, the message acknowledgement
event acknowledges a range of published Guaranteed messages. Message acknowledgement events are sent from
JCSMPStreamingPublishCorrelatingEventHandler or JCSMPStreamingPublishEventHandlerackEventMode - The ack event mode.Copyright 2004-2018 Solace Corporation. All rights reserved.