public class PollingReceiverWorker extends Object implements javax.resource.spi.work.Work
Modifier and Type | Field and Description |
---|---|
protected AbstractPollingMessageReceiver |
receiver |
protected boolean |
running |
Constructor and Description |
---|
PollingReceiverWorker(AbstractPollingMessageReceiver pollingMessageReceiver) |
Modifier and Type | Method and Description |
---|---|
AbstractPollingMessageReceiver |
getReceiver() |
boolean |
isRunning() |
protected void |
poll() |
void |
release() |
void |
run() |
protected final AbstractPollingMessageReceiver receiver
protected volatile boolean running
public PollingReceiverWorker(AbstractPollingMessageReceiver pollingMessageReceiver)
public AbstractPollingMessageReceiver getReceiver()
public boolean isRunning()
public void release()
release
in interface javax.resource.spi.work.Work
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.