public abstract class AbstractJmsSender extends AbstractSender
JmsSender
and Jms11Sender
.Modifier and Type | Class and Description |
---|---|
static class |
AbstractJmsSender.MessageType
JMS message type.
|
Constructor and Description |
---|
AbstractJmsSender() |
Modifier and Type | Method and Description |
---|---|
String |
getConnectionFactory()
Gets the connection factory.
|
String |
getJndiContextFactory()
Gets the JNDI context factory.
|
String |
getJndiSecurityCredentials()
Gets the JNDI password.
|
String |
getJndiSecurityPrincipal()
Gets the JNDI username.
|
String |
getJndiUrl()
Gets the JNDI URL.
|
AbstractJmsSender.MessageType |
getMessageType()
Get the JMS message type.
|
String |
getPassword()
Gets the JMS password.
|
String |
getReplyTo()
Gets the value of
replyTo header of the JMS message. |
String |
getUsername()
Gets the JMS username.
|
boolean |
isPersistent()
Is JMS message persisted?
|
boolean |
isSafePropertyNames()
Gets the value of same message property name handling.
|
boolean |
isTransacted()
Is JMS message delivery transacted?
|
AbstractJmsSender |
setConnectionFactory(String connectionFactory)
Sets the connection factory.
|
AbstractJmsSender |
setJndiContextFactory(String jndiContextFactory)
Sets the JNDI context factory.
|
AbstractJmsSender |
setJndiSecurityCredentials(String jndiSecurityCredentials)
Sets the JNDI password.
|
AbstractJmsSender |
setJndiSecurityPrincipal(String jndiSecurityPrincipal)
Sets the JNDI username.
|
AbstractJmsSender |
setJndiUrl(String jndiUrl)
Sets the value of JNDI URL.
|
AbstractJmsSender |
setMessageType(AbstractJmsSender.MessageType messageType)
Set the JMS message type.
|
AbstractJmsSender |
setPassword(String password)
Sets the JMS password.
|
AbstractJmsSender |
setPersistent(boolean persistent)
Enables/disables persistent delivery mode.
|
AbstractJmsSender |
setReplyTo(String replyTo)
Sets the value of
replyTo header of the JMS message. |
AbstractJmsSender |
setSafePropertyNames(boolean safePropertyNames)
Sets the value of same message property name handling.
|
AbstractJmsSender |
setTransacted(boolean transacted)
Sets the JMS delivery transaction mode.
|
AbstractJmsSender |
setUsername(String username)
Sets the JMS username.
|
close, doClose, doInit, doSend, getTarget, getTarget, init, isKeepConnection, postSend, preSend, safeGetTarget, send, setKeepConnection, setTarget
public String getUsername()
public AbstractJmsSender setUsername(String username)
username
- The JMS username.public String getPassword()
public AbstractJmsSender setPassword(String password)
password
- The JMS password.public boolean isTransacted()
public AbstractJmsSender setTransacted(boolean transacted)
transacted
- The transacted mode.public boolean isPersistent()
true
if JMS message is persisted.public AbstractJmsSender setPersistent(boolean persistent)
persistent
- true
to persist JMS messages.public AbstractJmsSender setMessageType(AbstractJmsSender.MessageType messageType)
messageType
- The JMS message type.public AbstractJmsSender.MessageType getMessageType()
public String getConnectionFactory()
public AbstractJmsSender setConnectionFactory(String connectionFactory)
connectionFactory
- The connectionf actory.public String getJndiContextFactory()
public AbstractJmsSender setJndiContextFactory(String jndiContextFactory)
jndiContextFactory
- The JNDI context factory.public String getJndiUrl()
public AbstractJmsSender setJndiUrl(String jndiUrl)
jndiUrl
- The JNDI URL.public String getJndiSecurityPrincipal()
public AbstractJmsSender setJndiSecurityPrincipal(String jndiSecurityPrincipal)
jndiSecurityPrincipal
- The JNDI username.public String getJndiSecurityCredentials()
public AbstractJmsSender setJndiSecurityCredentials(String jndiSecurityCredentials)
jndiSecurityCredentials
- The JNDI password.public String getReplyTo()
replyTo
header of the JMS message.replyTo
header of the JMS message.public AbstractJmsSender setReplyTo(String replyTo)
replyTo
header of the JMS message.replyTo
- The replyTo
header of the JMS message.public boolean isSafePropertyNames()
public AbstractJmsSender setSafePropertyNames(boolean safePropertyNames)
safePropertyNames
- True if and only if the safe message property name handling should be switched on.Copyright © 2010–2017 PerfCake Community. All rights reserved.