public class JmsDestination extends Object implements Destination
Modifier and Type | Class and Description |
---|---|
static class |
JmsDestination.DestinationType
The Enumeration DestinationType.
|
Constructor and Description |
---|
JmsDestination()
Instantiates a new JMS destination.
|
JmsDestination(JmsDestination.DestinationType destinationType,
String destination)
Instantiates a new JMS destination.
|
JmsDestination(JmsDestination.DestinationType destinationType,
String destination,
boolean firstOccurrenceOnly,
boolean sendAsObjectMessage)
Instantiates a new JMS destination.
|
Modifier and Type | Method and Description |
---|---|
JmsDestination.DestinationType |
getDestinationType()
Gets the destination type.
|
String |
getJmsDestination()
Gets the JMS destination.
|
String |
getMessageFormat()
Gets the message format.
|
String |
getName()
Gets the destination name.
|
boolean |
isFirstOccurrenceOnly()
Checks if is first occurrence only.
|
boolean |
isSendAsObjectMessageEnabled()
Checks if is send as object message enabled.
|
void |
setDestinationType(JmsDestination.DestinationType destinationType)
Sets the destination type.
|
void |
setFirstOccurrenceOnly(Boolean firstOccurrenceOnly)
Sets the first occurrence only.
|
void |
setName(String destinationName)
Sets the name.
|
public JmsDestination()
public JmsDestination(JmsDestination.DestinationType destinationType, String destination)
destinationType
- the destination typedestination
- the destinationpublic JmsDestination(JmsDestination.DestinationType destinationType, String destination, boolean firstOccurrenceOnly, boolean sendAsObjectMessage)
destinationType
- the destination typedestination
- the destinationfirstOccurrenceOnly
- the first occurrence onlysendAsObjectMessage
- the send as object messagepublic String getName()
Destination
getName
in interface Destination
public void setName(String destinationName)
destinationName
- the new namepublic boolean isFirstOccurrenceOnly()
Destination
isFirstOccurrenceOnly
in interface Destination
public void setFirstOccurrenceOnly(Boolean firstOccurrenceOnly)
firstOccurrenceOnly
- the new first occurrence onlypublic String getJmsDestination()
public boolean isSendAsObjectMessageEnabled()
public JmsDestination.DestinationType getDestinationType()
public void setDestinationType(JmsDestination.DestinationType destinationType)
destinationType
- the new destination typepublic String getMessageFormat()
Copyright © 2021. All rights reserved.