Sha256: d87137592edf6212a12585a5d8dca62db5f24cae60e0ddcfcac1cecfda65b8df
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 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 destination is set with queue '<Queue>' and queue address '<QueueAddress>' And a receiving filter is defined to prepend 'Foo' to all messages And the message 'Hello World' is published to queue '<Queue>' When the message on '<Queue>' is consumed Then the consumed message should equal "Foo Hello World" Examples: | Adapter | Queue | QueueAddress | | amqp_synch | foo | queue.foo | # | stomp | foo | queue/foo | Scenario Outline: sending filter Given RosettaQueue is configured for '<Adapter>' And a destination is set with queue '<Queue>' and queue address '<QueueAddress>' And a sending filter is defined to prepend 'Foo' to all messages And the message 'Hello World' is published to queue '<Queue>' When the message on '<Queue>' is consumed Then the consumed message should equal "Foo Hello World" Examples: | Adapter | Queue | QueueAddress | | amqp_synch | foo | queue.foo | # | stomp | foo | queue/foo |
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cwyckoff-rosetta_queue-0.3.3 | features/filtering.feature |