Interface GuavaEventBusEndpointBuilderFactory.GuavaEventBusEndpointConsumerBuilder

All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
All Known Subinterfaces:
GuavaEventBusEndpointBuilderFactory.GuavaEventBusEndpointBuilder
Enclosing interface:
GuavaEventBusEndpointBuilderFactory

public static interface GuavaEventBusEndpointBuilderFactory.GuavaEventBusEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Guava EventBus component.
  • Method Details

    • advanced

    • eventClass

      If used on the consumer side of the route, will filter events received from the EventBus to the instances of the class and superclasses of eventClass. Null value of this option is equal to setting it to the java.lang.Object i.e. the consumer will capture all messages incoming to the event bus. This option cannot be used together with listenerInterface option. The option is a: <code>java.lang.Class&lt;java.lang.Object&gt;</code> type. Group: common
      Parameters:
      eventClass - the value to set
      Returns:
      the dsl builder
    • eventClass

      If used on the consumer side of the route, will filter events received from the EventBus to the instances of the class and superclasses of eventClass. Null value of this option is equal to setting it to the java.lang.Object i.e. the consumer will capture all messages incoming to the event bus. This option cannot be used together with listenerInterface option. The option will be converted to a <code>java.lang.Class&lt;java.lang.Object&gt;</code> type. Group: common
      Parameters:
      eventClass - the value to set
      Returns:
      the dsl builder
    • listenerInterface

      The interface with method(s) marked with the Subscribe annotation. Dynamic proxy will be created over the interface so it could be registered as the EventBus listener. Particularly useful when creating multi-event listeners and for handling DeadEvent properly. This option cannot be used together with eventClass option. The option is a: <code>java.lang.Class&lt;java.lang.Object&gt;</code> type. Group: common
      Parameters:
      listenerInterface - the value to set
      Returns:
      the dsl builder
    • listenerInterface

      The interface with method(s) marked with the Subscribe annotation. Dynamic proxy will be created over the interface so it could be registered as the EventBus listener. Particularly useful when creating multi-event listeners and for handling DeadEvent properly. This option cannot be used together with eventClass option. The option will be converted to a <code>java.lang.Class&lt;java.lang.Object&gt;</code> type. Group: common
      Parameters:
      listenerInterface - the value to set
      Returns:
      the dsl builder