Interface JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder

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

    public static interface JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint producers for the JBPM component.
    • Method Detail

      • attachmentId

        default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder 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.JBPMEndpointProducerBuilder 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.JBPMEndpointProducerBuilder 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.JBPMEndpointProducerBuilder 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.JBPMEndpointProducerBuilder 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.JBPMEndpointProducerBuilder 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.JBPMEndpointProducerBuilder 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.JBPMEndpointProducerBuilder 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.JBPMEndpointProducerBuilder 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.JBPMEndpointProducerBuilder 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.JBPMEndpointProducerBuilder 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.JBPMEndpointProducerBuilder 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
      • lazyStartProducer

        default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder lazyStartProducer​(String lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • statuses

        default JBPMEndpointBuilderFactory.JBPMEndpointProducerBuilder 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