Skip to main content
summaryrefslogtreecommitdiffstats
blob: 72b09c0f5c31c25e087395cc1cee72e6f9386ced (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Created on Mar 30, 2010
 *
 * PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
 */
package org.eclipse.osee.framework.messaging.internal.activemq;

import javax.jms.ExceptionListener;
import javax.jms.JMSException;

import org.eclipse.osee.framework.messaging.internal.FailoverConnectionNode;

/**
 * @author Andrew M. Finkbeiner
 *
 */
public class OseeExceptionListener implements ExceptionListener {

	private FailoverConnectionNode failoverConnectionNode;

	@Override
	public void onException(JMSException ex) {
		if(failoverConnectionNode != null){
			failoverConnectionNode.onException(ex);
		}
	}

	public void setListener(FailoverConnectionNode failoverConnectionNode) {
		this.failoverConnectionNode = failoverConnectionNode;
	}

}

Back to the top