Interface Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder

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

    public static interface Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the Web3j Ethereum Blockchain component.
    • Method Detail

      • addresses

        default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder addresses​(String addresses)
        Contract address or a list of addresses. The option will be converted to a <code>java.util.List&lt;java.lang.String&gt;</code> type. Group: common
        Parameters:
        addresses - the value to set
        Returns:
        the dsl builder
      • fromBlock

        default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder fromBlock​(String fromBlock)
        The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. The option is a: <code>java.lang.String</code> type. Default: latest Group: common
        Parameters:
        fromBlock - the value to set
        Returns:
        the dsl builder
      • fullTransactionObjects

        default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder fullTransactionObjects​(boolean fullTransactionObjects)
        If true it returns the full transaction objects, if false only the hashes of the transactions. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        fullTransactionObjects - the value to set
        Returns:
        the dsl builder
      • fullTransactionObjects

        default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder fullTransactionObjects​(String fullTransactionObjects)
        If true it returns the full transaction objects, if false only the hashes of the transactions. The option will be converted to a <code>boolean</code> type. Default: false Group: common
        Parameters:
        fullTransactionObjects - the value to set
        Returns:
        the dsl builder
      • privateFor

        default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder privateFor​(List<String> privateFor)
        A transaction privateFor nodes with public keys in a Quorum network. The option is a: <code>java.util.List&lt;java.lang.String&gt;</code> type. Group: common
        Parameters:
        privateFor - the value to set
        Returns:
        the dsl builder
      • privateFor

        default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder privateFor​(String privateFor)
        A transaction privateFor nodes with public keys in a Quorum network. The option will be converted to a <code>java.util.List&lt;java.lang.String&gt;</code> type. Group: common
        Parameters:
        privateFor - the value to set
        Returns:
        the dsl builder
      • quorumAPI

        default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder quorumAPI​(boolean quorumAPI)
        If true, this will support Quorum API. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        quorumAPI - the value to set
        Returns:
        the dsl builder
      • toBlock

        default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder toBlock​(String toBlock)
        The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. The option is a: <code>java.lang.String</code> type. Default: latest Group: common
        Parameters:
        toBlock - the value to set
        Returns:
        the dsl builder
      • topics

        default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder topics​(List<String> topics)
        Topics are order-dependent. Each topic can also be a list of topics. Specify multiple topics separated by comma. The option is a: <code>java.util.List&lt;java.lang.String&gt;</code> type. Group: common
        Parameters:
        topics - the value to set
        Returns:
        the dsl builder
      • topics

        default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder topics​(String topics)
        Topics are order-dependent. Each topic can also be a list of topics. Specify multiple topics separated by comma. The option will be converted to a <code>java.util.List&lt;java.lang.String&gt;</code> type. Group: common
        Parameters:
        topics - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder 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 Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder 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