|
|
Choosing A Webhost: |
svn commit: r292601 - in /webservices/sandesha/trunk/src/org/apache/sandesh: msg#00296apache.webservices.fx.devel
Author: chamikara Date: Thu Sep 29 19:34:05 2005 New Revision: 292601 URL: http://svn.apache.org/viewcvs?rev=292601&view=rev Log: Fixed the sender to retransmit messages, with the retransmission interval given by Constants.WSP.RETRANSMISSION_INTERVAL Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/Constants.java webservices/sandesha/trunk/src/org/apache/sandesha2/Sender.java Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/Constants.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/Constants.java?rev=292601&r1=292600&r2=292601&view=diff ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/Constants.java (original) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/Constants.java Thu Sep 29 19:34:05 2005 @@ -88,7 +88,7 @@ } public interface WSP { - long RETRANSMISSION_INTERVAL = 3000; + long RETRANSMISSION_INTERVAL = 20000; } String RM_HEADERS = "rmHeaders"; Modified: webservices/sandesha/trunk/src/org/apache/sandesha2/Sender.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/Sender.java?rev=292601&r1=292600&r2=292601&view=diff ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/Sender.java (original) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/Sender.java Thu Sep 29 19:34:05 2005 @@ -79,14 +79,17 @@ e2.printStackTrace(); } - String action = msgCtx.getWSAAction(); - System.out.println ("Action:" + action); - try { new AxisEngine(context).send(msgCtx); } catch (AxisFault e1) { e1.printStackTrace(); } + + //changing the values of the sent bean. + bean.setLastSentTime(System.currentTimeMillis()); + bean.setSentCount(bean.getSentCount()+1); + mgr.update(bean); + }
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: BounsyCastle implementation for JDK 1.3, Liu, Tao |
|---|---|
| Next by Date: | svn commit: r292623 - in /webservices/sandesha/trunk/src/org/apache/sandesha2: ./ handlers/ msgprocessors/ msgreceivers/ storage/beanmanagers/ wsrm/, chamikara-1oDqGaOF3Lkdnm+yROfE0A |
| Previous by Thread: | using SAMLIssuerFactory.getInstance() with Axis, Edson Camargo |
| Next by Thread: | svn commit: r292623 - in /webservices/sandesha/trunk/src/org/apache/sandesha2: ./ handlers/ msgprocessors/ msgreceivers/ storage/beanmanagers/ wsrm/, chamikara-1oDqGaOF3Lkdnm+yROfE0A |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |