|
From: Aron S. <bi...@gm...> - 2006-07-06 23:11:46
|
User: asogor
Date: 06/07/06 19:11:43
Modified: src/java/org/jboss/mail/maillistener
CalendarMailListener.java
Log:
Invite Response works
Revision Changes Path
1.4 +4 -2 jboss-mail/src/java/org/jboss/mail/maillistener/CalendarMailListener.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CalendarMailListener.java
===================================================================
RCS file: /cvsroot/jboss/jboss-mail/src/java/org/jboss/mail/maillistener/CalendarMailListener.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- CalendarMailListener.java 6 Jul 2006 04:52:00 -0000 1.3
+++ CalendarMailListener.java 6 Jul 2006 23:11:43 -0000 1.4
@@ -117,9 +117,9 @@
public void handleResponse(MailResponse response)
{
try{
- if(destinationType.toLowerCase().equals("topic"));
+ if(destinationType.toLowerCase().equals("topic"))
this.sendMessageTopic(response);
- if(destinationType.toLowerCase().equals("queue"));
+ if(destinationType.toLowerCase().equals("queue"))
this.sendMessageQueue(response);
}
catch (Exception ex)
@@ -149,6 +149,7 @@
ObjectMessage om = qs.createObjectMessage(msg);
sender.send(om);
} finally {
+ qc.close();
}
}
@@ -173,6 +174,7 @@
ObjectMessage om = ts.createObjectMessage(msg);
pub.publish(om);
} finally {
+ tc.close();
}
}
|