public class QChannelFactory<T>
extends java.lang.Object
Constructor and Description |
---|
QChannelFactory(ServerConnector connector,
org.apache.activemq.artemis.core.config.CoreQueueConfiguration qConfig) |
Modifier and Type | Method and Description |
---|---|
DequeueTask<T> |
buildCountedScheduleSink(MessageSink<CountedSchedule,T> consumer,
SourceReader<java.io.InputStream,T> deserializer) |
DequeueTask<T> |
buildCountedScheduleSink(MessageSink<CountedSchedule,T> consumer,
SourceReader<java.io.InputStream,T> deserializer,
boolean redeliverOnCrash) |
MessageSource<CountedSchedule,T> |
buildCountedScheduleSource(SinkWriter<T,java.io.OutputStream> serializer) |
DequeueTask<T> |
buildReschedulableSink(Reschedulable<T> consumer,
SinkWriter<T,java.io.OutputStream> serializer,
SourceReader<java.io.InputStream,T> deserializer) |
DequeueTask<T> |
buildReschedulableSink(Reschedulable<T> consumer,
SinkWriter<T,java.io.OutputStream> serializer,
SourceReader<java.io.InputStream,T> deserializer,
boolean redeliverOnCrash) |
SchedulingSource<T> |
buildSchedulingSource(SinkWriter<T,java.io.OutputStream> serializer) |
DequeueTask<T> |
buildSink(ChannelSink<T> consumer,
SourceReader<java.io.InputStream,T> deserializer) |
DequeueTask<T> |
buildSink(ChannelSink<T> consumer,
SourceReader<java.io.InputStream,T> deserializer,
boolean redeliverOnCrash) |
ChannelSource<T> |
buildSource(SinkWriter<T,java.io.OutputStream> serializer) |
static <T> QChannelFactory<T> |
with(ServerConnector connector,
org.apache.activemq.artemis.core.config.CoreQueueConfiguration qConfig) |
public QChannelFactory(ServerConnector connector, org.apache.activemq.artemis.core.config.CoreQueueConfiguration qConfig)
public static <T> QChannelFactory<T> with(ServerConnector connector, org.apache.activemq.artemis.core.config.CoreQueueConfiguration qConfig)
public ChannelSource<T> buildSource(SinkWriter<T,java.io.OutputStream> serializer) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQException
public SchedulingSource<T> buildSchedulingSource(SinkWriter<T,java.io.OutputStream> serializer) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQException
public MessageSource<CountedSchedule,T> buildCountedScheduleSource(SinkWriter<T,java.io.OutputStream> serializer) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQException
public DequeueTask<T> buildSink(ChannelSink<T> consumer, SourceReader<java.io.InputStream,T> deserializer) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQException
public DequeueTask<T> buildSink(ChannelSink<T> consumer, SourceReader<java.io.InputStream,T> deserializer, boolean redeliverOnCrash) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQException
public DequeueTask<T> buildCountedScheduleSink(MessageSink<CountedSchedule,T> consumer, SourceReader<java.io.InputStream,T> deserializer) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQException
public DequeueTask<T> buildCountedScheduleSink(MessageSink<CountedSchedule,T> consumer, SourceReader<java.io.InputStream,T> deserializer, boolean redeliverOnCrash) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQException
public DequeueTask<T> buildReschedulableSink(Reschedulable<T> consumer, SinkWriter<T,java.io.OutputStream> serializer, SourceReader<java.io.InputStream,T> deserializer) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQException
public DequeueTask<T> buildReschedulableSink(Reschedulable<T> consumer, SinkWriter<T,java.io.OutputStream> serializer, SourceReader<java.io.InputStream,T> deserializer, boolean redeliverOnCrash) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQException