camel-sip-kafka-connector sink configuration
Connector Description: Send and receive messages using the SIP protocol (used in telecommunications).
When using camel-sip-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-sip-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.sip.CamelSipSinkConnector
The camel-sip sink connector supports 42 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
Required URI of the SIP server to connect to (the username and password can be included such as: john:secretmyserver:9999). |
HIGH |
||
Should connections be cached by the SipStack to reduce cost of connection creation. This is useful if the connection is used for long running conversations. |
false |
MEDIUM |
|
Setting for contentSubType can be set to any valid MimeSubType. |
"plain" |
MEDIUM |
|
Setting for contentType can be set to any valid MimeType. |
"text" |
MEDIUM |
|
Setting for a String based event type. |
MEDIUM |
||
Setting for a String based event Id. Mandatory setting unless a registry based FromHeader is specified. |
MEDIUM |
||
Hostname of the message originator. Mandatory setting unless a registry based FromHeader is specified. |
MEDIUM |
||
Port of the message originator. Mandatory setting unless a registry based FromHeader is specified. |
MEDIUM |
||
Username of the message originator. Mandatory setting unless a registry based custom FromHeader is specified. |
MEDIUM |
||
The amount of time a message received at an endpoint is considered valid. |
3600 |
MEDIUM |
|
Setting for specifying amount of time to wait for a Response and/or Acknowledgement can be received from another SIP stack. |
10000L |
MEDIUM |
|
Name of the SIP Stack instance associated with an SIP Endpoint. |
"NAME_NOT_SET" |
MEDIUM |
|
Hostname of the message receiver. Mandatory setting unless a registry based ToHeader is specified. |
MEDIUM |
||
Portname of the message receiver. Mandatory setting unless a registry based ToHeader is specified. |
MEDIUM |
||
Username of the message receiver. Mandatory setting unless a registry based custom ToHeader is specified. |
MEDIUM |
||
Setting for choice of transport protocol. Valid choices are tcp or udp. One of: [tcp] [udp]. Enum values:
|
"tcp" |
MEDIUM |
|
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 |
|
To use a custom AddressFactory. |
MEDIUM |
||
A custom Header object containing call details. Must implement the type javax.sip.header.CallIdHeader. |
MEDIUM |
||
An optional custom Header object containing verbose contact details (email, phone number etc). Must implement the type javax.sip.header.ContactHeader. |
MEDIUM |
||
A custom Header object containing message content details. Must implement the type javax.sip.header.ContentTypeHeader. |
MEDIUM |
||
A custom Header object containing event details. Must implement the type javax.sip.header.EventHeader. |
MEDIUM |
||
A custom Header object containing message expiration details. Must implement the type javax.sip.header.ExpiresHeader. |
MEDIUM |
||
A custom Header object containing user/application specific details. Must implement the type javax.sip.header.ExtensionHeader. |
MEDIUM |
||
A custom Header object containing message originator settings. Must implement the type javax.sip.header.FromHeader. |
MEDIUM |
||
To use a custom HeaderFactory. |
MEDIUM |
||
To use a custom ListeningPoint implementation. |
MEDIUM |
||
A custom Header object containing details on maximum proxy forwards. This header places a limit on the viaHeaders possible. Must implement the type javax.sip.header.MaxForwardsHeader. |
MEDIUM |
||
Setting for maximum allowed Message size in bytes. |
1048576 |
MEDIUM |
|
To use a custom MessageFactory. |
MEDIUM |
||
To use a custom SipFactory to create the SipStack to be used. |
MEDIUM |
||
To use a custom SipStack. |
MEDIUM |
||
To use a custom SipURI. If none configured, then the SipUri fallback to use the options toUser toHost:toPort. |
MEDIUM |
||
A custom Header object containing message receiver settings. Must implement the type javax.sip.header.ToHeader. |
MEDIUM |
||
List of custom Header objects of the type javax.sip.header.ViaHeader. Each ViaHeader containing a proxy address for request forwarding. (Note this header is automatically updated by each proxy when the request arrives at its listener). |
MEDIUM |
||
Name of client debug log file to use for logging. |
MEDIUM |
||
Name of server log file to use for logging. |
MEDIUM |
||
Logging level for tracing. |
"0" |
MEDIUM |
|
Number of maximum proxy forwards. |
MEDIUM |
||
This setting is used when requests are sent to the Presence Agent via a proxy. |
false |
MEDIUM |
|
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 |
|
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 |
The camel-sip sink connector has no converters out of the box.
The camel-sip sink connector has no transforms out of the box.
The camel-sip sink connector has no aggregation strategies out of the box.