Interface CordaEndpointBuilderFactory.CordaEndpointConsumerBuilder

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

    public static interface CordaEndpointBuilderFactory.CordaEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the Corda component.
    • Method Detail

      • bridgeErrorHandler

        default CordaEndpointBuilderFactory.CordaEndpointConsumerBuilder 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 CordaEndpointBuilderFactory.CordaEndpointConsumerBuilder 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
      • pageSpecification

        default CordaEndpointBuilderFactory.CordaEndpointConsumerBuilder pageSpecification​(Object pageSpecification)
        PageSpecification allows specification of a page number (starting from 1) and page size (defaulting to 200 with a maximum page size of (Integer.MAX_INT) Note: we default the page number to 200 to enable queries without requiring a page specification but enabling detection of large results sets that fall out of the 200 requirement. Max page size should be used with extreme caution as results may exceed your JVM memory footprint. The option is a: <code>net.corda.core.node.services.vault.PageSpecification</code> type. Default: 200 Group: consumer
        Parameters:
        pageSpecification - the value to set
        Returns:
        the dsl builder
      • pageSpecification

        default CordaEndpointBuilderFactory.CordaEndpointConsumerBuilder pageSpecification​(String pageSpecification)
        PageSpecification allows specification of a page number (starting from 1) and page size (defaulting to 200 with a maximum page size of (Integer.MAX_INT) Note: we default the page number to 200 to enable queries without requiring a page specification but enabling detection of large results sets that fall out of the 200 requirement. Max page size should be used with extreme caution as results may exceed your JVM memory footprint. The option will be converted to a <code>net.corda.core.node.services.vault.PageSpecification</code> type. Default: 200 Group: consumer
        Parameters:
        pageSpecification - the value to set
        Returns:
        the dsl builder
      • processSnapshot

        default CordaEndpointBuilderFactory.CordaEndpointConsumerBuilder processSnapshot​(boolean processSnapshot)
        Whether to process snapshots or not. The option is a: <code>boolean</code> type. Default: true Group: consumer
        Parameters:
        processSnapshot - the value to set
        Returns:
        the dsl builder
      • processSnapshot

        default CordaEndpointBuilderFactory.CordaEndpointConsumerBuilder processSnapshot​(String processSnapshot)
        Whether to process snapshots or not. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer
        Parameters:
        processSnapshot - the value to set
        Returns:
        the dsl builder
      • sort

        default CordaEndpointBuilderFactory.CordaEndpointConsumerBuilder sort​(Object sort)
        Sort allows specification of a set of entity attribute names and their associated directionality and null handling, to be applied upon processing a query specification. The option is a: <code>net.corda.core.node.services.vault.Sort</code> type. Group: consumer
        Parameters:
        sort - the value to set
        Returns:
        the dsl builder
      • sort

        default CordaEndpointBuilderFactory.CordaEndpointConsumerBuilder sort​(String sort)
        Sort allows specification of a set of entity attribute names and their associated directionality and null handling, to be applied upon processing a query specification. The option will be converted to a <code>net.corda.core.node.services.vault.Sort</code> type. Group: consumer
        Parameters:
        sort - the value to set
        Returns:
        the dsl builder