public abstract class DefinedJmsProducer extends JmsProducerImpl
Contains behaviour common to PTP and PAS JMS message producers.
log
Constructor and Description |
---|
DefinedJmsProducer() |
Modifier and Type | Method and Description |
---|---|
protected abstract javax.jms.Destination |
createDestination(java.lang.String name) |
protected abstract javax.jms.Destination |
createTemporaryDestination() |
protected void |
doProduce(AdaptrisMessage msg,
javax.jms.Destination destination,
javax.jms.Destination replyTo) |
protected void |
doProduce(AdaptrisMessage msg,
ProduceDestination dest,
javax.jms.Destination replyTo) |
void |
produce(AdaptrisMessage msg,
ProduceDestination destination)
Deprecated.
|
AdaptrisMessage |
request(AdaptrisMessage msg,
ProduceDestination dest,
long timeout)
Deprecated.
|
acknowledge, calculateDeliveryMode, calculatePriority, calculateTimeToLive, captureOutgoingMessageDetails, captureOutgoingMessageDetails, close, commit, configuredAcknowledgeMode, configuredCorrelationIdSource, configuredMessageListener, configuredMessageTranslator, createDestination, currentLogger, currentSession, defaultTimeout, getAcknowledgeMode, getCaptureOutgoingMessageDetails, getCorrelationIdSource, getDeliveryMode, getMessageTranslator, getPerMessageProperties, getPriority, getSessionFactory, getTtl, init, isManagedTransaction, logLinkedException, messagePriority, perMessageProperties, prepare, producerSession, request, request, rollback, rollbackTimeout, setAcknowledgeMode, setCaptureOutgoingMessageDetails, setCorrelationIdSource, setDeliveryMode, setMessageTranslator, setPerMessageProperties, setPriority, setSessionFactory, setTtl, setupSession, start, stop, timeToLive, transactedSession, translate
copyReplyContents, getIgnoreReplyMetadata, mergeReply, setIgnoreReplyMetadata
createName, endpoint
createQualifier, decode, encode, getEncoder, getIsTrackingEndpoint, getMessageFactory, getUniqueId, handleConnectionException, isTrackingEndpoint, registerConnection, registerEncoderMessageFactory, retrieveConnection, setEncoder, setIsTrackingEndpoint, setMessageFactory, setUniqueId, withMessageFactory, withUniqueID
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
request
decode, encode, getEncoder, getMessageFactory, handleConnectionException, registerConnection, retrieveConnection, setEncoder, setMessageFactory
getUniqueId
createQualifier, isTrackingEndpoint
produce
@Deprecated @Removal(version="4.0.0") public void produce(AdaptrisMessage msg, ProduceDestination destination) throws ProduceException
AdaptrisMessageSender
AdaptrisMessage
to the supplied
ProduceDestination
, over-riding any configured destinations.msg
- the AdaptrisMessage
to producedestination
- the ProduceDestination
to produce toProduceException
- wrapping any underlying Exceptionsprotected void doProduce(AdaptrisMessage msg, ProduceDestination dest, javax.jms.Destination replyTo) throws ProduceException
ProduceException
protected void doProduce(AdaptrisMessage msg, javax.jms.Destination destination, javax.jms.Destination replyTo) throws javax.jms.JMSException, CoreException
javax.jms.JMSException
CoreException
@Deprecated @Removal(version="4.0.0") public AdaptrisMessage request(AdaptrisMessage msg, ProduceDestination dest, long timeout) throws ProduceException
AdaptrisMessageProducer
AdaptrisMessage
to the passed supplied
ProduceDestination
and blocks for the specified timeout for a reply.msg
- the AdaptrisMessage
to producedest
- the ProduceDestination
to produce totimeout
- the time to wait for a reply in millisecondsAdaptrisMessage
which is generally the same as
supplied parameterProduceException
- wrapping any underlying Exceptionsprotected abstract javax.jms.Destination createDestination(java.lang.String name) throws javax.jms.JMSException
javax.jms.JMSException
protected abstract javax.jms.Destination createTemporaryDestination() throws javax.jms.JMSException
javax.jms.JMSException