Interface SipEndpointBuilderFactory.SipEndpointConsumerBuilder

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

    public static interface SipEndpointBuilderFactory.SipEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the SIP component.
    • Method Detail

      • cacheConnections

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder cacheConnections​(boolean cacheConnections)
        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. The option is a: boolean type. Default: false Group: common
      • cacheConnections

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder cacheConnections​(String cacheConnections)
        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. The option will be converted to a boolean type. Default: false Group: common
      • receiveTimeoutMillis

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder receiveTimeoutMillis​(long receiveTimeoutMillis)
        Setting for specifying amount of time to wait for a Response and/or Acknowledgement can be received from another SIP stack. The option is a: long type. Default: 10000 Group: common
      • receiveTimeoutMillis

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder receiveTimeoutMillis​(String receiveTimeoutMillis)
        Setting for specifying amount of time to wait for a Response and/or Acknowledgement can be received from another SIP stack. The option will be converted to a long type. Default: 10000 Group: common
      • bridgeErrorHandler

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder 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: boolean type. Default: false Group: consumer
      • bridgeErrorHandler

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder 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 boolean type. Default: false Group: consumer
      • consumer

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder consumer​(boolean consumer)
        This setting is used to determine whether the kind of header (FromHeader,ToHeader etc) that needs to be created for this endpoint. The option is a: boolean type. Default: false Group: consumer
      • consumer

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder consumer​(String consumer)
        This setting is used to determine whether the kind of header (FromHeader,ToHeader etc) that needs to be created for this endpoint. The option will be converted to a boolean type. Default: false Group: consumer
      • presenceAgent

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder presenceAgent​(boolean presenceAgent)
        This setting is used to distinguish between a Presence Agent & a consumer. This is due to the fact that the SIP Camel component ships with a basic Presence Agent (for testing purposes only). Consumers have to set this flag to true. The option is a: boolean type. Default: false Group: consumer
      • presenceAgent

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder presenceAgent​(String presenceAgent)
        This setting is used to distinguish between a Presence Agent & a consumer. This is due to the fact that the SIP Camel component ships with a basic Presence Agent (for testing purposes only). Consumers have to set this flag to true. The option will be converted to a boolean type. Default: false Group: consumer
      • useRouterForAllUris

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder useRouterForAllUris​(boolean useRouterForAllUris)
        This setting is used when requests are sent to the Presence Agent via a proxy. The option is a: boolean type. Default: false Group: proxy
      • useRouterForAllUris

        default SipEndpointBuilderFactory.SipEndpointConsumerBuilder useRouterForAllUris​(String useRouterForAllUris)
        This setting is used when requests are sent to the Presence Agent via a proxy. The option will be converted to a boolean type. Default: false Group: proxy