PEC configuration reference

The information here explains the different properties in the application.properties file for the Policy Event Consumer.

General Configuration

Property Type Description Default

pec.cdr-service-id

integer

Sets the CDR service ID.

97

pec.max-retries

intger

Sets the maximum number of attempts to deliver a message.

3

pec.policy-events-include

list

A comma-separated list of SPCM event types to be consumed.

empty

JAVA AMQP Client Properties.

Property Type Description Default

pec.amqp.concurrent-consumers

integer

Sets the number of concurrent consumers to create.

1

pec.amqp.max-concurrent-consumers

integer

Sets the maximum number of concurrent consumers to create.

1

pec.amqp.receive-timeout

integer

Sets the time in milliseconds that a consumer should wait for data.

1000

pec.amqp.prefetch-count

integer

Sets the number of messages to send to each consumer in a single request.

250

pec.amqp.tx-size

integer

Sets the number of messages to process in a single transaction.

This should be less than or equal to pec.amqp.prefetch-count.

1

pec.amqp.acknowledge-mode

enum

Controls the behaviour of the container with respect to message acknowledgement.

auto

pec.amqp.retry-exchange-name

string

Sets the name of the amqp exchange where failed messages will be delivered.

tango.pcc.spcm.retry

pec.amqp.queue.name

string

Sets the name of the queue.

This field must not be left blank.

empty

pec.amqp.queue.durable

boolean

Determines whether a durable queue will survive a server restart.

true

pec.amqp.queue.exclusive

boolean

Determines whether an exclusive queue will only send messages to the declarer’s connection.

false

pec.amqp.queue.auto-delete

boolean

Determines if the service should delete the queue when it is no longer in use.

false

Spring Configuration

Property Type Description Default

spring.rabbitmq.host

string

Sets the RabbitMQ host.

localhost

spring.rabbitmq.port

integer

Sets the RabbitMQ port.

5672

spring.rabbitmq.virtual-host

string

Sets the Virtual Host to use when connecting to the broker.

empty

spring.rabbitmq.username

string

Denotes the username to authenticate to the broker.

empty

spring.rabbitmq.password

string

Denotes the user password to authenticate to the broker.

empty

Outbound HTTP Configuration

Property Type Description Default

pec.http.api-url

string

The URL for the outbound HTTP API.

This field must not be left blank.

empty

pec.http.connection-timeout

integer

The connection timeout in milliseconds. A value of 0 specifies an infinite timeout.

1000

pec.http.read-timeout

integer

The read timeout in milliseconds. A value of 0 specifies an infinite timeout.

1000

pec.http.api-key-name

string

The header name used for transmitting the apikey to a 3rd party HTTP API.

This field must not be left blank.

ApiKey

pec.http.api-key

string

The API key to use for integration of a 3rd party HTTP API.

If omitted, no API Key header is added.

empty

pec.http.http-method

string

The HTTP method used for the 3rd party HTTP integration.

This field must not be left blank.

GET

CDR Configuration

Property Type Description Default

tangoplatform.cdr-logger.logging-enabled

boolean

Determines if Tango Platform CDR logging is enabled.

true

tangoplatform.cdr-logger.cdr-field-separator

string

Denotes the separator of the CDR fields.

,

spring.profiles.active

string

Determines the logging type.

choices
  • cdrlogging-slf4j

  • cdrlogging-cdrh

empty