Skip to content

Commit

Permalink
don't disconnect on veto exception, a message rejected by a filter do…
Browse files Browse the repository at this point in the history
…es not mean that the channel is bad
  • Loading branch information
Andres Alcarraz committed Jan 23, 2006
1 parent f4da699 commit e36fd16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions q2modules/src/jpos/src/org/jpos/q2/iso/ChannelAdaptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ public void run () {
Object o = sp.in (in, delay);
if (o instanceof ISOMsg)
channel.send ((ISOMsg) o);
} catch (ISOFilter.VetoException e) {
getLog().warn ("channel-sender-"+in, e.getMessage ());
} catch (Exception e) {
getLog().warn ("channel-sender-"+in, e.getMessage ());
disconnect ();
Expand Down

0 comments on commit e36fd16

Please sign in to comment.