public final class JmsProducerInfo extends JmsAbstractResource implements Comparable<JmsProducerInfo>
JmsResource.ResourceState| Constructor and Description |
|---|
JmsProducerInfo(JmsProducerId producerId) |
JmsProducerInfo(JmsProducerId producerId,
JmsMessageIDBuilder messageIDBuilder) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(JmsProducerInfo other) |
JmsProducerInfo |
copy() |
void |
copy(JmsProducerInfo info) |
boolean |
equals(Object obj) |
JmsDestination |
getDestination() |
JmsProducerId |
getId()
Returns the assigned resource ID for this JmsResource instance.
|
JmsMessageIDBuilder |
getMessageIDBuilder() |
JmsSessionId |
getParentId() |
int |
hashCode() |
boolean |
isPresettle() |
void |
setDestination(JmsDestination destination) |
void |
setPresettle(boolean presettle)
Sets the presettle mode of the producer, when true the producer will be created
as a presettled producer and all messages it sends will be settled before dispatch.
|
String |
toString() |
void |
visit(JmsResourceVistor vistor)
Allows a visitor object to walk the resources and process them.
|
getState, isClosed, setStatepublic JmsProducerInfo(JmsProducerId producerId)
public JmsProducerInfo(JmsProducerId producerId, JmsMessageIDBuilder messageIDBuilder)
public JmsProducerInfo copy()
public void copy(JmsProducerInfo info)
public JmsProducerId getId()
JmsResourcegetId in interface JmsResourcepublic JmsSessionId getParentId()
public JmsDestination getDestination()
public void setDestination(JmsDestination destination)
public boolean isPresettle()
public void setPresettle(boolean presettle)
presettle - the presettle option to set on this producer.public JmsMessageIDBuilder getMessageIDBuilder()
public int compareTo(JmsProducerInfo other)
compareTo in interface Comparable<JmsProducerInfo>public void visit(JmsResourceVistor vistor) throws Exception
JmsResourcevisit in interface JmsResourcevistor - The visitor instance that is processing this resource.Exception - if an error occurs while visiting this resource.Copyright © 2013–2019 The Apache Software Foundation. All rights reserved.