File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/com/ericsson/ei/flowtests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -209,13 +209,13 @@ private ArrayList<String> getEventNamesToSend() {
209
209
}
210
210
211
211
private void createExchange (final String exchangeName , final String queueName ) {
212
- final CachingConnectionFactory cf = new CachingConnectionFactory (AMQPBrokerManager . PORT );
213
- final RabbitAdmin admin = new RabbitAdmin (cf );
212
+ final CachingConnectionFactory ccf = new CachingConnectionFactory (cf );
213
+ final RabbitAdmin admin = new RabbitAdmin (ccf );
214
214
final Queue queue = new Queue (queueName , false );
215
215
admin .declareQueue (queue );
216
216
final TopicExchange exchange = new TopicExchange (exchangeName );
217
217
admin .declareExchange (exchange );
218
218
admin .declareBinding (BindingBuilder .bind (queue ).to (exchange ).with ("#" ));
219
- cf .destroy ();
219
+ ccf .destroy ();
220
220
}
221
221
}
You can’t perform that action at this time.
0 commit comments