rservicebus2
Use the examples directory as the starting point.
General Approach
- Convention over Configuration
- Configuration via Environment Variables
- Working examples provided for configuration
General Config
APPNAME
- Name of process
- Doubles as default queueName
- Defaults to directory name
MAX_RETRIES
- If an exception is generated while processing a message, the message can be retried. This allows the number of retries to be set.
- Defaults to 5
ERROR_QUEUE_NAME
- If an exception is generated while processing a message, the message can be retried. Once all retries are exhausted, the message will be put in the error queue.
- This allows the name of the queue to be set.
- Defaults to error
WORKING_DIR
- Where message handlers are looked for.
- Defaults to current directory
VERBOSE
- Send out more logging to track message processing
AUDIT_QUEUE_NAME
- When set, a copy of all messages sent and received will be add to this queue
RSBCRON_[msg name]
- An empty message will be created and sent based on the cron string
RSBMQ - Message queue
- Environment Variable Name: RSBMQ
Beanstalk
Redis
SQS
RSBMQ=aws://[region]/[queue_name]