Broadleaf Microservices

Messaging Configuration

Overview

There are various properties you can configure when utilizing Broadleaf’s messaging features in any service.

Cluster Properties

Properties related to general cluster singleton config

Property Description

broadleaf.messaging.clustServiceImplementation

Implementation of CamelClusterService to utilize. The default value is org.apache.camel.component.jgroups.cluster.JGroupsLockClusterService.

broadleaf.messaging.fileLockRootPath

If using FileLockClusterService, the root path to store the lock files. Required if using FileLockClusterService.

Persistence Producer Properties

Configuration properties for the NotificationHandler and RetryHandler related to PersistenceProducer

Property Description

broadleaf.persistence.notification.*

See com.broadleafcommerce.common.messaging.notification.NotificationProperties for full list of options.

broadleaf.persistence.retry.*

See com.broadleafcommerce.common.messaging.notification.RetryProperties for full list of options.

Resource Lock Properties

Properties related to the repository responsible for allowing requesters to lock and unlock a resource.

Property Description

broadleaf.resource.lock.defaultStagnationThreshold

The time, once elapsed, in which the system will consider a lock abandoned and allow another requester to acquire the lock. The default value is 15 (seconds).

broadleaf.resource.lock.lockPurgePageSize

The number of lock records to purge in a single page. Default value is 1000.