Skip to content

Commit

Permalink
explains route configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jayhof committed Jan 24, 2018
1 parent 93d9d3c commit ac860ea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ You'll need to configure the queue connection in your config/queue.php
'queue' => env('QUEUE_URL', 'your-queue-url'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'routes' => [
// specify routes to your queue jobs eg.
// you can use the "Subject" field
'Subject' => 'App\\Jobs\\YourJob',
// or the "TopicArn" of your SQS message
'TopicArn:123' => 'App\\Jobs\\YourJob',
// to specify which job class should handle the job
],
],
],
Expand All @@ -39,6 +42,7 @@ You'll need to configure the queue connection in your config/queue.php
Once the sqs-sns queue connector is configured you can start
using it by setting your queue driver to 'sqs-sns'.


## Installation

The best way to install laravel-sqs-sns-subscription is by using [Composer](http://getcomposer.org/).
Expand Down

0 comments on commit ac860ea

Please sign in to comment.