Class JmsTemplateMessageSender
java.lang.Object
com.atlassian.bamboo.v2.build.agent.remote.sender.JmsTemplateMessageSender
- All Implemented Interfaces:
BambooAgentMessageSender
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Objectsend(@NotNull BambooAgentMessage bambooAgentMessage) Sends aBambooAgentMessage, and any others that have been submitted but not yet sent, to the server immediately.voidsetJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate) voidsubmit(@NotNull BambooAgentMessage message) Submits aBambooAgentMessageto be sent to the server when convenient.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.v2.build.agent.remote.sender.BambooAgentMessageSender
flush
-
Constructor Details
-
JmsTemplateMessageSender
public JmsTemplateMessageSender()
-
-
Method Details
-
send
Description copied from interface:BambooAgentMessageSenderSends a
BambooAgentMessage, and any others that have been submitted but not yet sent, to the server immediately.- Specified by:
sendin interfaceBambooAgentMessageSender- Parameters:
bambooAgentMessage- TheBambooAgentMessageto send.
-
submit
Description copied from interface:BambooAgentMessageSenderSubmits a
BambooAgentMessageto be sent to the server when convenient.- Specified by:
submitin interfaceBambooAgentMessageSender- Parameters:
message- TheBambooAgentMessageto submit.
-
setJmsTemplate
public void setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
-