org.talend.esb.sam.agent.collector
Class QueueSender

java.lang.Object
  extended by org.talend.esb.sam.agent.collector.QueueSender
All Implemented Interfaces:
org.talend.esb.sam.common.spi.EventHandler

public class QueueSender
extends Object
implements org.talend.esb.sam.common.spi.EventHandler


Constructor Summary
QueueSender()
           
 
Method Summary
 void handleEvent(org.talend.esb.sam.common.event.Event event)
          Stores an event in the queue and returns.
 void setQueue(Queue<org.talend.esb.sam.common.event.Event> queue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueSender

public QueueSender()
Method Detail

setQueue

public void setQueue(Queue<org.talend.esb.sam.common.event.Event> queue)

handleEvent

public void handleEvent(org.talend.esb.sam.common.event.Event event)
Stores an event in the queue and returns. So the synchronous execution of this service is as short as possible.

Specified by:
handleEvent in interface org.talend.esb.sam.common.spi.EventHandler


Copyright © 2011 Talend Inc.. All Rights Reserved.