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