Package com.devebot.opflow
Class OpflowRpcAmqpWorker
java.lang.Object
com.devebot.opflow.OpflowRpcAmqpWorker
- All Implemented Interfaces:
AutoCloseable
public class OpflowRpcAmqpWorker extends Object implements AutoCloseable
- Author:
- drupalex
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOpflowRpcAmqpWorker.Checkerstatic interfaceOpflowRpcAmqpWorker.ListenerclassOpflowRpcAmqpWorker.MiddlewareclassOpflowRpcAmqpWorker.State -
Constructor Summary
Constructors Constructor Description OpflowRpcAmqpWorker(Map<String,Object> params) -
Method Summary
Modifier and Type Method Description OpflowRpcAmqpWorker.Statecheck()voidclose()protected voidfinalize()StringgetComponentId()OpflowEnginegetEngine()OpflowExecutorgetExecutor()BooleangetIncomingQueueAutoDelete()BooleangetIncomingQueueDurable()BooleangetIncomingQueueExclusive()StringgetIncomingQueueName()OpflowEngine.ConsumerInfoprocess(OpflowRpcAmqpWorker.Checker checker, OpflowRpcAmqpWorker.Listener listener)OpflowEngine.ConsumerInfoprocess(OpflowRpcAmqpWorker.Listener listener)OpflowEngine.ConsumerInfoprocess(String[] routineSignatures, OpflowRpcAmqpWorker.Listener listener)OpflowEngine.ConsumerInfoprocess(String routineSignature, OpflowRpcAmqpWorker.Listener listener)OpflowEngine.ConsumerInfoprocess(Set<String> routineSignatures, OpflowRpcAmqpWorker.Listener listener)voidsetHttpAddress(String address)
-
Constructor Details
-
Method Details
-
process
-
process
public OpflowEngine.ConsumerInfo process(String routineSignature, OpflowRpcAmqpWorker.Listener listener) -
process
public OpflowEngine.ConsumerInfo process(String[] routineSignatures, OpflowRpcAmqpWorker.Listener listener) -
process
public OpflowEngine.ConsumerInfo process(Set<String> routineSignatures, OpflowRpcAmqpWorker.Listener listener) -
process
public OpflowEngine.ConsumerInfo process(OpflowRpcAmqpWorker.Checker checker, OpflowRpcAmqpWorker.Listener listener) -
check
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getEngine
-
getExecutor
-
getComponentId
-
getIncomingQueueName
-
getIncomingQueueDurable
-
getIncomingQueueExclusive
-
getIncomingQueueAutoDelete
-
setHttpAddress
-
finalize
-