Sha256: 247777eb0e4c8bb65778fd55ca9bd9bd8d8a4b61bdc80ba474bfb12c2182af71

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

Feature: Message Filtering
  In order to save time and prevent lots of typing
  As a RosettaQueue user
  I want to be able to define filters for processing all of my messages


  Scenario Outline: receiving filter
    Given RosettaQueue is configured for '<Adapter>'
    And a point-to-point destination is set
    And a receiving filter is defined to prepend 'Foo' to all messages
    And the message "Hello World" is published to queue "foo"
    When the message on "foo" is consumed
    Then the consumed message should equal "Foo Hello World"

    Examples:
    | Adapter     |
    | amqp_synch  |
    | stomp       |

Scenario Outline: sending filter
    Given RosettaQueue is configured for '<Adapter>'
    And a point-to-point destination is set
    And a sending filter is defined to prepend 'Foo' to all messages
    And the message "Hello World" is published to queue "foo"
    When the message on "foo" is consumed
    Then the consumed message should equal "Foo Hello World"

    Examples:
    | Adapter     |
    | amqp_synch  |
    | stomp       |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bmabey-rosetta_queue-0.2.0 features/filtering.feature