camel-twilio-kafka-connector sink configuration

Connector Description: Interact with Twilio REST APIs using Twilio Java SDK.

When using camel-twilio-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:

<dependency>
  <groupId>org.apache.camel.kafkaconnector</groupId>
  <artifactId>camel-twilio-kafka-connector</artifactId>
  <version>x.x.x</version>
  <!-- use the same version as your Camel Kafka connector version -->
</dependency>

To use this sink connector in Kafka connect you’ll need to set the following connector.class

connector.class=org.apache.camel.kafkaconnector.twilio.CamelTwilioSinkConnector

The camel-twilio sink connector supports 11 options, which are listed below.

Name Description Default Priority

camel.sink.path.apiName

Required What kind of operation to perform One of: [ACCOUNT] [ADDRESS] [APPLICATION] [AVAILABLE_PHONE_NUMBER_COUNTRY] [CALL] [CONFERENCE] [CONNECT_APP] [INCOMING_PHONE_NUMBER] [KEY] [MESSAGE] [NEW_KEY] [NEW_SIGNING_KEY] [NOTIFICATION] [OUTGOING_CALLER_ID] [QUEUE] [RECORDING] [SHORT_CODE] [SIGNING_KEY] [TOKEN] [TRANSCRIPTION] [VALIDATION_REQUEST] [ADDRESS_DEPENDENT_PHONE_NUMBER] [AVAILABLE_PHONE_NUMBER_COUNTRY_LOCAL] [AVAILABLE_PHONE_NUMBER_COUNTRY_MOBILE] [AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE] [CALL_FEEDBACK] [CALL_FEEDBACK_SUMMARY] [CALL_NOTIFICATION] [CALL_RECORDING] [CONFERENCE_PARTICIPANT] [INCOMING_PHONE_NUMBER_LOCAL] [INCOMING_PHONE_NUMBER_MOBILE] [INCOMING_PHONE_NUMBER_TOLL_FREE] [MESSAGE_FEEDBACK] [MESSAGE_MEDIA] [QUEUE_MEMBER] [RECORDING_ADD_ON_RESULT] [RECORDING_TRANSCRIPTION] [RECORDING_ADD_ON_RESULT_PAYLOAD] [SIP_CREDENTIAL_LIST] [SIP_DOMAIN] [SIP_IP_ACCESS_CONTROL_LIST] [SIP_CREDENTIAL_LIST_CREDENTIAL] [SIP_DOMAIN_CREDENTIAL_LIST_MAPPING] [SIP_DOMAIN_IP_ACCESS_CONTROL_LIST_MAPPING] [SIP_IP_ACCESS_CONTROL_LIST_IP_ADDRESS] [USAGE_RECORD] [USAGE_TRIGGER] [USAGE_RECORD_ALL_TIME] [USAGE_RECORD_DAILY] [USAGE_RECORD_LAST_MONTH] [USAGE_RECORD_MONTHLY] [USAGE_RECORD_THIS_MONTH] [USAGE_RECORD_TODAY] [USAGE_RECORD_YEARLY] [USAGE_RECORD_YESTERDAY].

Enum values:

  • ACCOUNT

  • ADDRESS

  • APPLICATION

  • AVAILABLE_PHONE_NUMBER_COUNTRY

  • CALL

  • CONFERENCE

  • CONNECT_APP

  • INCOMING_PHONE_NUMBER

  • KEY

  • MESSAGE

  • NEW_KEY

  • NEW_SIGNING_KEY

  • NOTIFICATION

  • OUTGOING_CALLER_ID

  • QUEUE

  • RECORDING

  • SHORT_CODE

  • SIGNING_KEY

  • TOKEN

  • TRANSCRIPTION

  • VALIDATION_REQUEST

  • ADDRESS_DEPENDENT_PHONE_NUMBER

  • AVAILABLE_PHONE_NUMBER_COUNTRY_LOCAL

  • AVAILABLE_PHONE_NUMBER_COUNTRY_MOBILE

  • AVAILABLE_PHONE_NUMBER_COUNTRY_TOLL_FREE

  • CALL_FEEDBACK

  • CALL_FEEDBACK_SUMMARY

  • CALL_NOTIFICATION

  • CALL_RECORDING

  • CONFERENCE_PARTICIPANT

  • INCOMING_PHONE_NUMBER_LOCAL

  • INCOMING_PHONE_NUMBER_MOBILE

  • INCOMING_PHONE_NUMBER_TOLL_FREE

  • MESSAGE_FEEDBACK

  • MESSAGE_MEDIA

  • QUEUE_MEMBER

  • RECORDING_ADD_ON_RESULT

  • RECORDING_TRANSCRIPTION

  • RECORDING_ADD_ON_RESULT_PAYLOAD

  • SIP_CREDENTIAL_LIST

  • SIP_DOMAIN

  • SIP_IP_ACCESS_CONTROL_LIST

  • SIP_CREDENTIAL_LIST_CREDENTIAL

  • SIP_DOMAIN_CREDENTIAL_LIST_MAPPING

  • SIP_DOMAIN_IP_ACCESS_CONTROL_LIST_MAPPING

  • SIP_IP_ACCESS_CONTROL_LIST_IP_ADDRESS

  • USAGE_RECORD

  • USAGE_TRIGGER

  • USAGE_RECORD_ALL_TIME

  • USAGE_RECORD_DAILY

  • USAGE_RECORD_LAST_MONTH

  • USAGE_RECORD_MONTHLY

  • USAGE_RECORD_THIS_MONTH

  • USAGE_RECORD_TODAY

  • USAGE_RECORD_YEARLY

  • USAGE_RECORD_YESTERDAY

HIGH

camel.sink.path.methodName

Required What sub operation to use for the selected operation One of: [create] [delete] [fetch] [read] [update].

Enum values:

  • create

  • delete

  • fetch

  • read

  • update

HIGH

camel.sink.endpoint.inBody

Sets the name of a parameter to be passed in the exchange In Body.

MEDIUM

camel.sink.endpoint.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.

false

MEDIUM

camel.component.twilio.configuration

To use the shared configuration.

MEDIUM

camel.component.twilio.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.

false

MEDIUM

camel.component.twilio.autowiredEnabled

Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.

true

MEDIUM

camel.component.twilio.restClient

To use the shared REST client.

MEDIUM

camel.component.twilio.accountSid

The account SID to use.

MEDIUM

camel.component.twilio.password

Auth token for the account.

MEDIUM

camel.component.twilio.username

The account to use.

MEDIUM

The camel-twilio sink connector has no converters out of the box.

The camel-twilio sink connector has no transforms out of the box.

The camel-twilio sink connector has no aggregation strategies out of the box.