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 Summary
Modifier and TypeMethodDescriptionContract address or a list of addresses.Contract address or a list of addresses.advanced()
fromAddress
(String fromAddress) The address the transaction is send from.The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.fullTransactionObjects
(boolean fullTransactionObjects) If true it returns the full transaction objects, if false only the hashes of the transactions.fullTransactionObjects
(String fullTransactionObjects) If true it returns the full transaction objects, if false only the hashes of the transactions.The maximum gas allowed in this block.gasLimit
(BigInteger gasLimit) The maximum gas allowed in this block.privateFor
(String privateFor) A transaction privateFor nodes with public keys in a Quorum network.privateFor
(List<String> privateFor) A transaction privateFor nodes with public keys in a Quorum network.quorumAPI
(boolean quorumAPI) If true, this will support Quorum API.If true, this will support Quorum API.The address the transaction is directed to.The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.Topics are order-dependent.The preconfigured Web3j object.web3j
(org.web3j.protocol.Web3j web3j) The preconfigured Web3j object.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
addresses
Contract address or a list of addresses. The option is a: <code>java.util.List<java.lang.String></code> type. Group: common- Parameters:
addresses
- the value to set- Returns:
- the dsl builder
-
addresses
Contract address or a list of addresses. The option will be converted to a <code>java.util.List<java.lang.String></code> type. Group: common- Parameters:
addresses
- the value to set- Returns:
- the dsl builder
-
fromAddress
The address the transaction is send from. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
fromAddress
- the value to set- Returns:
- the dsl builder
-
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
-
gasLimit
The maximum gas allowed in this block. The option is a: <code>java.math.BigInteger</code> type. Group: common- Parameters:
gasLimit
- the value to set- Returns:
- the dsl builder
-
gasLimit
The maximum gas allowed in this block. The option will be converted to a <code>java.math.BigInteger</code> type. Group: common- Parameters:
gasLimit
- 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<java.lang.String></code> type. Group: common- Parameters:
privateFor
- the value to set- Returns:
- the dsl builder
-
privateFor
A transaction privateFor nodes with public keys in a Quorum network. The option will be converted to a <code>java.util.List<java.lang.String></code> type. Group: common- Parameters:
privateFor
- the value to set- Returns:
- the dsl builder
-
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
-
quorumAPI
If true, this will support Quorum API. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
quorumAPI
- the value to set- Returns:
- the dsl builder
-
toAddress
The address the transaction is directed to. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
toAddress
- the value to set- Returns:
- the dsl builder
-
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
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.lang.String</code> type. Group: common- Parameters:
topics
- the value to set- Returns:
- the dsl builder
-
web3j
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder web3j(org.web3j.protocol.Web3j web3j) The preconfigured Web3j object. The option is a: <code>org.web3j.protocol.Web3j</code> type. Group: common- Parameters:
web3j
- the value to set- Returns:
- the dsl builder
-
web3j
The preconfigured Web3j object. The option will be converted to a <code>org.web3j.protocol.Web3j</code> type. Group: common- Parameters:
web3j
- the value to set- Returns:
- the dsl builder
-