Interface JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    All Known Subinterfaces:
    JBPMEndpointBuilderFactory.JBPMEndpointBuilder
    Enclosing interface:
    JBPMEndpointBuilderFactory

    public static interface JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the JBPM component.
    • Method Detail

      • attachmentId

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder attachmentId​(Long attachmentId)
        attachId to use when retrieving attachments. The option is a: <code>java.lang.Long</code> type. Group: common
        Parameters:
        attachmentId - the value to set
        Returns:
        the dsl builder
      • attachmentId

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder attachmentId​(String attachmentId)
        attachId to use when retrieving attachments. The option will be converted to a <code>java.lang.Long</code> type. Group: common
        Parameters:
        attachmentId - the value to set
        Returns:
        the dsl builder
      • contentId

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder contentId​(String contentId)
        contentId to use when retrieving attachments. The option will be converted to a <code>java.lang.Long</code> type. Group: common
        Parameters:
        contentId - the value to set
        Returns:
        the dsl builder
      • emitterSendItems

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder emitterSendItems​(Boolean emitterSendItems)
        Sets if event produced by emitter should be sent as single items or complete collection. The option is a: <code>java.lang.Boolean</code> type. Group: common
        Parameters:
        emitterSendItems - the value to set
        Returns:
        the dsl builder
      • emitterSendItems

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder emitterSendItems​(String emitterSendItems)
        Sets if event produced by emitter should be sent as single items or complete collection. The option will be converted to a <code>java.lang.Boolean</code> type. Group: common
        Parameters:
        emitterSendItems - the value to set
        Returns:
        the dsl builder
      • event

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder event​(Object event)
        the data associated with this event when signalEvent operation is performed. The option is a: <code>java.lang.Object</code> type. Group: common
        Parameters:
        event - the value to set
        Returns:
        the dsl builder
      • event

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder event​(String event)
        the data associated with this event when signalEvent operation is performed. The option will be converted to a <code>java.lang.Object</code> type. Group: common
        Parameters:
        event - the value to set
        Returns:
        the dsl builder
      • eventType

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder eventType​(String eventType)
        the type of event to use when signalEvent operation is performed. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        eventType - the value to set
        Returns:
        the dsl builder
      • maxNumber

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder maxNumber​(String maxNumber)
        the maximum number of rules that should be fired. The option will be converted to a <code>java.lang.Integer</code> type. Group: common
        Parameters:
        maxNumber - the value to set
        Returns:
        the dsl builder
      • pageSize

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder pageSize​(String pageSize)
        The page size to use when retrieving user tasks. The option will be converted to a <code>java.lang.Integer</code> type. Group: common
        Parameters:
        pageSize - the value to set
        Returns:
        the dsl builder
      • processInstanceId

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder processInstanceId​(Long processInstanceId)
        the id of the process instance. The option is a: <code>java.lang.Long</code> type. Group: common
        Parameters:
        processInstanceId - the value to set
        Returns:
        the dsl builder
      • processInstanceId

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder processInstanceId​(String processInstanceId)
        the id of the process instance. The option will be converted to a <code>java.lang.Long</code> type. Group: common
        Parameters:
        processInstanceId - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder bridgeErrorHandler​(boolean bridgeErrorHandler)
        Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder bridgeErrorHandler​(String bridgeErrorHandler)
        Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder
      • statuses

        default JBPMEndpointBuilderFactory.JBPMEndpointConsumerBuilder statuses​(String statuses)
        The list of status to use when filtering tasks. The option will be converted to a <code>java.util.List&lt;java.lang.String&gt;</code> type. Group: filter
        Parameters:
        statuses - the value to set
        Returns:
        the dsl builder