Class PulsarMessageListener
java.lang.Object
org.apache.camel.component.pulsar.PulsarMessageListener
- All Implemented Interfaces:
Serializable,org.apache.pulsar.client.api.MessageListener<byte[]>
public class PulsarMessageListener
extends Object
implements org.apache.pulsar.client.api.MessageListener<byte[]>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPulsarMessageListener(PulsarEndpoint endpoint, PulsarConsumer pulsarConsumer) -
Method Summary
Modifier and TypeMethodDescriptionvoidreceived(org.apache.pulsar.client.api.Consumer<byte[]> consumer, org.apache.pulsar.client.api.Message<byte[]> message) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pulsar.client.api.MessageListener
reachedEndOfTopic
-
Constructor Details
-
PulsarMessageListener
-
-
Method Details
-
received
public void received(org.apache.pulsar.client.api.Consumer<byte[]> consumer, org.apache.pulsar.client.api.Message<byte[]> message) - Specified by:
receivedin interfaceorg.apache.pulsar.client.api.MessageListener<byte[]>
-