Skip to content

Commit

Permalink
chore(amqp): clarify test setup with beans in RabbitListenerUtilTest
Browse files Browse the repository at this point in the history
Co-authored-by: Timon Back <[email protected]>
  • Loading branch information
sam0r040 and timonback committed Sep 1, 2023
1 parent feaed3f commit 4537b02
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ private void methodWithAnnotation(String payload) {}
class QueueBindingsWithBeansConfiguration {
private final RabbitListenerUtil.RabbitListenerUtilContext context;

// Simulate a RabbitListenerUtilContext that has already been populated by exising spring beans
{
org.springframework.amqp.core.Queue queue =
new org.springframework.amqp.core.Queue("queue-1", false, true, true);
Expand Down

0 comments on commit 4537b02

Please sign in to comment.