Skip to content

Commit

Permalink
issue #275 : deprecate JmsQueueConnectionListener
Browse files Browse the repository at this point in the history
  • Loading branch information
fmbenhassine committed Mar 27, 2017
1 parent 6f07964 commit 70305c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
*
* @author Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
*/
@Deprecated
public class JmsQueueConnectionListener implements JobListener {

private static final Logger LOGGER = Logger.getLogger(JmsQueueConnectionListener.class.getSimpleName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ public void testJmsSupport() throws Exception {
.reader(new JmsQueueRecordReader(queueConnectionFactory, queue))
.filter(new JmsPoisonRecordFilter())
.processor(recordCollector)
.jobListener(new JmsQueueConnectionListener(queueConnection))
.build();

JobReport jobReport = new JobExecutor().execute(job);
Expand All @@ -115,7 +114,7 @@ public void testJmsSupport() throws Exception {
assertThat(textMessage.getText()).isEqualTo(MESSAGE_TEXT);

queueSession.close();

queueConnection.close();
}

@Test
Expand Down

0 comments on commit 70305c5

Please sign in to comment.