Interface Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
Web3jEndpointBuilderFactory.Web3jEndpointBuilder
- Enclosing interface:
- Web3jEndpointBuilderFactory
public static interface Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Web3j Ethereum Blockchain component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
address(String address)
Contract address.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
addresses(String addresses)
Contract address or a list of addresses.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
addresses(List<String> addresses)
Contract address or a list of addresses.default Web3jEndpointBuilderFactory.AdvancedWeb3jEndpointProducerBuilder
advanced()
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
atBlock(String atBlock)
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
blockHash(String blockHash)
Hash of the block where this transaction was in.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
clientId(String clientId)
A random hexadecimal(32 bytes) ID identifying the client.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
data(String data)
The compiled code of a contract OR the hash of the invoked method signature and encoded parameters.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
databaseName(String databaseName)
The local database name.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
filterId(String filterId)
The filter id to use.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
filterId(BigInteger filterId)
The filter id to use.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
fromAddress(String fromAddress)
The address the transaction is send from.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
fromBlock(String fromBlock)
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
fullTransactionObjects(boolean fullTransactionObjects)
If true it returns the full transaction objects, if false only the hashes of the transactions.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
fullTransactionObjects(String fullTransactionObjects)
If true it returns the full transaction objects, if false only the hashes of the transactions.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
gasLimit(String gasLimit)
The maximum gas allowed in this block.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
gasLimit(BigInteger gasLimit)
The maximum gas allowed in this block.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
gasPrice(String gasPrice)
Gas price used for each paid gas.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
gasPrice(BigInteger gasPrice)
Gas price used for each paid gas.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
hashrate(String hashrate)
A hexadecimal string representation (32 bytes) of the hash rate.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
headerPowHash(String headerPowHash)
The header's pow-hash (256 bits) used for submitting a proof-of-work solution.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
index(String index)
The transactions/uncle index position in the block.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
index(BigInteger index)
The transactions/uncle index position in the block.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
keyName(String keyName)
The key name in the database.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
mixDigest(String mixDigest)
The mix digest (256 bits) used for submitting a proof-of-work solution.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
nonce(String nonce)
The nonce found (64 bits) used for submitting a proof-of-work solution.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
operation(String operation)
Operation to use.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
position(String position)
The transaction index position withing a block.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
position(BigInteger position)
The transaction index position withing a block.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
priority(String priority)
The priority of a whisper message.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
priority(BigInteger priority)
The priority of a whisper message.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
privateFor(String privateFor)
A transaction privateFor nodes with public keys in a Quorum network.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
privateFor(List<String> privateFor)
A transaction privateFor nodes with public keys in a Quorum network.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
quorumAPI(boolean quorumAPI)
If true, this will support Quorum API.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
quorumAPI(String quorumAPI)
If true, this will support Quorum API.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
sha3HashOfDataToSign(String sha3HashOfDataToSign)
Message to sign by calculating an Ethereum specific signature.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
signedTransactionData(String signedTransactionData)
The signed transaction data for a new message call transaction or a contract creation for signed transactions.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
sourceCode(String sourceCode)
The source code to compile.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
toAddress(String toAddress)
The address the transaction is directed to.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
toBlock(String toBlock)
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
topics(String topics)
Topics are order-dependent.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
transactionHash(String transactionHash)
The information about a transaction requested by transaction hash.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
ttl(String ttl)
The time to live in seconds of a whisper message.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
ttl(BigInteger ttl)
The time to live in seconds of a whisper message.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
value(String value)
The value sent within a transaction.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
value(BigInteger value)
The value sent within a transaction.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
web3j(String web3j)
The preconfigured Web3j object.default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
web3j(org.web3j.protocol.Web3j web3j)
The preconfigured Web3j object.
-
-
-
Method Detail
-
advanced
default Web3jEndpointBuilderFactory.AdvancedWeb3jEndpointProducerBuilder advanced()
-
addresses
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder addresses(List<String> 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
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder addresses(String 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
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder fromAddress(String 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
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder 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.Web3jEndpointProducerBuilder 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.Web3jEndpointProducerBuilder 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
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder gasLimit(BigInteger 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
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder gasLimit(String 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.Web3jEndpointProducerBuilder 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
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder 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<java.lang.String></code> type. Group: common- Parameters:
privateFor
- the value to set- Returns:
- the dsl builder
-
quorumAPI
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder 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
-
quorumAPI
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder quorumAPI(String 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
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder toAddress(String 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
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder 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.Web3jEndpointProducerBuilder topics(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.lang.String</code> type. Group: common- Parameters:
topics
- the value to set- Returns:
- the dsl builder
-
web3j
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder 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
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder web3j(String 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
-
address
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder address(String address)
Contract address. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
address
- the value to set- Returns:
- the dsl builder
-
atBlock
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder atBlock(String atBlock)
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: producer- Parameters:
atBlock
- the value to set- Returns:
- the dsl builder
-
blockHash
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder blockHash(String blockHash)
Hash of the block where this transaction was in. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
blockHash
- the value to set- Returns:
- the dsl builder
-
clientId
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder clientId(String clientId)
A random hexadecimal(32 bytes) ID identifying the client. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
clientId
- the value to set- Returns:
- the dsl builder
-
data
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder data(String data)
The compiled code of a contract OR the hash of the invoked method signature and encoded parameters. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
data
- the value to set- Returns:
- the dsl builder
-
databaseName
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder databaseName(String databaseName)
The local database name. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
databaseName
- the value to set- Returns:
- the dsl builder
-
filterId
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder filterId(BigInteger filterId)
The filter id to use. The option is a: <code>java.math.BigInteger</code> type. Group: producer- Parameters:
filterId
- the value to set- Returns:
- the dsl builder
-
filterId
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder filterId(String filterId)
The filter id to use. The option will be converted to a <code>java.math.BigInteger</code> type. Group: producer- Parameters:
filterId
- the value to set- Returns:
- the dsl builder
-
gasPrice
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder gasPrice(BigInteger gasPrice)
Gas price used for each paid gas. The option is a: <code>java.math.BigInteger</code> type. Group: producer- Parameters:
gasPrice
- the value to set- Returns:
- the dsl builder
-
gasPrice
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder gasPrice(String gasPrice)
Gas price used for each paid gas. The option will be converted to a <code>java.math.BigInteger</code> type. Group: producer- Parameters:
gasPrice
- the value to set- Returns:
- the dsl builder
-
hashrate
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder hashrate(String hashrate)
A hexadecimal string representation (32 bytes) of the hash rate. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
hashrate
- the value to set- Returns:
- the dsl builder
-
headerPowHash
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder headerPowHash(String headerPowHash)
The header's pow-hash (256 bits) used for submitting a proof-of-work solution. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
headerPowHash
- the value to set- Returns:
- the dsl builder
-
index
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder index(BigInteger index)
The transactions/uncle index position in the block. The option is a: <code>java.math.BigInteger</code> type. Group: producer- Parameters:
index
- the value to set- Returns:
- the dsl builder
-
index
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder index(String index)
The transactions/uncle index position in the block. The option will be converted to a <code>java.math.BigInteger</code> type. Group: producer- Parameters:
index
- the value to set- Returns:
- the dsl builder
-
keyName
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder keyName(String keyName)
The key name in the database. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
keyName
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder 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 Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder 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
-
mixDigest
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder mixDigest(String mixDigest)
The mix digest (256 bits) used for submitting a proof-of-work solution. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
mixDigest
- the value to set- Returns:
- the dsl builder
-
nonce
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder nonce(String nonce)
The nonce found (64 bits) used for submitting a proof-of-work solution. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
nonce
- the value to set- Returns:
- the dsl builder
-
operation
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder operation(String operation)
Operation to use. The option is a: <code>java.lang.String</code> type. Default: transaction Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
position
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder position(BigInteger position)
The transaction index position withing a block. The option is a: <code>java.math.BigInteger</code> type. Group: producer- Parameters:
position
- the value to set- Returns:
- the dsl builder
-
position
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder position(String position)
The transaction index position withing a block. The option will be converted to a <code>java.math.BigInteger</code> type. Group: producer- Parameters:
position
- the value to set- Returns:
- the dsl builder
-
priority
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder priority(BigInteger priority)
The priority of a whisper message. The option is a: <code>java.math.BigInteger</code> type. Group: producer- Parameters:
priority
- the value to set- Returns:
- the dsl builder
-
priority
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder priority(String priority)
The priority of a whisper message. The option will be converted to a <code>java.math.BigInteger</code> type. Group: producer- Parameters:
priority
- the value to set- Returns:
- the dsl builder
-
sha3HashOfDataToSign
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder sha3HashOfDataToSign(String sha3HashOfDataToSign)
Message to sign by calculating an Ethereum specific signature. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
sha3HashOfDataToSign
- the value to set- Returns:
- the dsl builder
-
signedTransactionData
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder signedTransactionData(String signedTransactionData)
The signed transaction data for a new message call transaction or a contract creation for signed transactions. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
signedTransactionData
- the value to set- Returns:
- the dsl builder
-
sourceCode
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder sourceCode(String sourceCode)
The source code to compile. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
sourceCode
- the value to set- Returns:
- the dsl builder
-
transactionHash
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder transactionHash(String transactionHash)
The information about a transaction requested by transaction hash. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
transactionHash
- the value to set- Returns:
- the dsl builder
-
ttl
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder ttl(BigInteger ttl)
The time to live in seconds of a whisper message. The option is a: <code>java.math.BigInteger</code> type. Group: producer- Parameters:
ttl
- the value to set- Returns:
- the dsl builder
-
ttl
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder ttl(String ttl)
The time to live in seconds of a whisper message. The option will be converted to a <code>java.math.BigInteger</code> type. Group: producer- Parameters:
ttl
- the value to set- Returns:
- the dsl builder
-
value
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder value(BigInteger value)
The value sent within a transaction. The option is a: <code>java.math.BigInteger</code> type. Group: producer- Parameters:
value
- the value to set- Returns:
- the dsl builder
-
value
default Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder value(String value)
The value sent within a transaction. The option will be converted to a <code>java.math.BigInteger</code> type. Group: producer- Parameters:
value
- the value to set- Returns:
- the dsl builder
-
-