com.atlassian.bamboo.v2.build.agent.remote.sender
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsTemplateMessageSender
public JmsTemplateMessageSender()
send
@Nullable
public Object send(@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 interface BambooAgentMessageSender
- Parameters:
bambooAgentMessage
- The BambooAgentMessage
to send.
submit
public void submit(@NotNull
BambooAgentMessage message)
- Description copied from interface:
BambooAgentMessageSender
Submits a BambooAgentMessage
to be sent to the server when convenient.
- Specified by:
submit
in interface BambooAgentMessageSender
- Parameters:
message
- The BambooAgentMessage
to submit.
setJmsTemplate
public void setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.