com.atlassian.bamboo.v2.build.agent
Class BambooAgentMessageListener

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.BambooAgentMessageDeliverer
      extended by com.atlassian.bamboo.v2.build.agent.BambooAgentMessageListener
All Implemented Interfaces:
javax.jms.MessageListener

public class BambooAgentMessageListener
extends BambooAgentMessageDeliverer
implements javax.jms.MessageListener


Constructor Summary
BambooAgentMessageListener()
           
 
Method Summary
 void onMessage(javax.jms.Message message)
           
 void setLongProcessingThresholdSeconds(long longProcessingThresholdSeconds)
          Processing threshold used to detect messages with extremally long processing times (=info in Bamboo log)
 void setVeryLongProcessingThresholdSeconds(long veryLongProcessingThresholdSeconds)
          Processing threshold used to detect messages with extremally long processing times (=warning in Bamboo log).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooAgentMessageListener

public BambooAgentMessageListener()
Method Detail

onMessage

public void onMessage(javax.jms.Message message)
Specified by:
onMessage in interface javax.jms.MessageListener

setLongProcessingThresholdSeconds

public void setLongProcessingThresholdSeconds(long longProcessingThresholdSeconds)
Processing threshold used to detect messages with extremally long processing times (=info in Bamboo log)

Parameters:
longProcessingThresholdSeconds -

setVeryLongProcessingThresholdSeconds

public void setVeryLongProcessingThresholdSeconds(long veryLongProcessingThresholdSeconds)
Processing threshold used to detect messages with extremally long processing times (=warning in Bamboo log).

Parameters:
veryLongProcessingThresholdSeconds -


Copyright © 2011 Atlassian. All Rights Reserved.