Java org.springframework.jms.core JmsTemplate fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.jms.core JmsTemplate fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.jms.core JmsTemplate.

The text is from its open source code.

Constructor

JmsTemplate(ConnectionFactory connectionFactory)
Create a new JmsTemplate, given a ConnectionFactory.
JmsTemplate()
Create a new JmsTemplate for bean-style usage.

Method

voidafterPropertiesSet()
Tbrowse(BrowserCallback action)
voidconvertAndSend(Destination destination, final Object message)
voidconvertAndSend(String destinationName, final Object message)
voidconvertAndSend(Object message, MessagePostProcessor postProcessor)
voidconvertAndSend(Object message)
Texecute(SessionCallback action)
Texecute(ProducerCallback action)
ConnectionFactorygetConnectionFactory()
Return the ConnectionFactory that this accessor uses for obtaining JMS Connection Connections .
DestinationgetDefaultDestination()
Return the destination to be used on send/receive operations that do not have a destination parameter.
StringgetDefaultDestinationName()
Return the destination name to be used on send/receive operations that do not have a destination parameter.
longgetReceiveTimeout()
Return the timeout to use for receive calls (in milliseconds).
Messagereceive(Destination destination)
Messagereceive(String destinationName)
ObjectreceiveAndConvert()
ObjectreceiveAndConvert(Destination destination)
ObjectreceiveAndConvert(String destinationName)
ObjectreceiveSelectedAndConvert(String messageSelector)
voidsend(MessageCreator messageCreator)
voidsend(final Destination destination, final MessageCreator messageCreator)
voidsend(final String destinationName, final MessageCreator messageCreator)
voidsetConnectionFactory(@Nullable ConnectionFactory connectionFactory)
Set the ConnectionFactory to use for obtaining JMS Connection Connections .
voidsetDefaultDestination(@Nullable Destination destination)
Set the destination to be used on send/receive operations that do not have a destination parameter.
voidsetDefaultDestinationName(@Nullable String destinationName)
Set the destination name to be used on send/receive operations that do not have a destination parameter.
voidsetDeliveryMode(int deliveryMode)
Set the delivery mode to use when sending a message.
voidsetDeliveryPersistent(boolean deliveryPersistent)
Set whether message delivery should be persistent or non-persistent, specified as boolean value ("true" or "false").
voidsetDestinationResolver(DestinationResolver destinationResolver)
Set the DestinationResolver that is to be used to resolve javax.jms.Destination references for this accessor.
voidsetExplicitQosEnabled(boolean explicitQosEnabled)
Set if the QOS values (deliveryMode, priority, timeToLive) should be used for sending a message.
voidsetMessageConverter(@Nullable MessageConverter messageConverter)
Set the message converter for this template.
voidsetMessageIdEnabled(boolean messageIdEnabled)
Set whether message IDs are enabled.
voidsetMessageTimestampEnabled(boolean messageTimestampEnabled)
Set whether message timestamps are enabled.
voidsetPriority(int priority)
Set the priority of a message when sending.
voidsetPubSubDomain(boolean pubSubDomain)
Configure the destination accessor with knowledge of the JMS domain used.
voidsetPubSubNoLocal(boolean pubSubNoLocal)
Set whether to inhibit the delivery of messages published by its own connection.
voidsetReceiveTimeout(long receiveTimeout)
Set the timeout to use for receive calls (in milliseconds).
voidsetSessionAcknowledgeMode(int sessionAcknowledgeMode)
Set the JMS acknowledgement mode that is used when creating a JMS Session to send a message.
voidsetSessionAcknowledgeModeName(String constantName)
Set the JMS acknowledgement mode by the name of the corresponding constant in the JMS Session interface, e.g.
voidsetSessionTransacted(boolean sessionTransacted)
Set the transaction mode that is used when creating a JMS Session .
voidsetTimeToLive(long timeToLive)
Set the time-to-live of the message when sending.