sonata_notification.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. sonata_notification:
  2. backend: sonata.notification.backend.postpone
  3. # backend: sonata.notification.backend.doctrine
  4. # backend: sonata.notification.backend.rabbitmq
  5. # queues:
  6. # default:
  7. # queue: message
  8. # routing_key: ''
  9. # backends:
  10. # doctrine:
  11. # max_age: 86400 # max age in second
  12. # pause: 500000 # delay in microseconds
  13. # states: # raising errors level
  14. # in_progress: 10
  15. # error: 20
  16. # open: 100
  17. # done: 10000
  18. # rabbitmq:
  19. # exchange: router
  20. # connection:
  21. # host: localhost
  22. # user: guest
  23. # pass: guest
  24. # port: 5672
  25. # vhost: /
  26. doctrine:
  27. orm:
  28. entity_managers:
  29. default:
  30. mappings:
  31. SonataNotificationBundle: ~
  32. ApplicationSonataNotificationBundle: ~