Author: asankha
Date: Tue Jan 13 00:42:49 2009
New Revision: 734073

URL: http://svn.apache.org/viewvc?rev=734073&view=rev
Log:
change log level to debug for debug level messages
introduce a new constant that could mark a messages as a fault message, if the 
transport has information that the payload carries a fault

Modified:
    
webservices/commons/trunk/modules/transport/modules/base/src/main/java/org/apache/axis2/transport/base/BaseConstants.java
    
webservices/commons/trunk/modules/transport/modules/jms/src/main/java/org/apache/axis2/transport/jms/ServiceTaskManager.java

Modified: 
webservices/commons/trunk/modules/transport/modules/base/src/main/java/org/apache/axis2/transport/base/BaseConstants.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/base/src/main/java/org/apache/axis2/transport/base/BaseConstants.java?rev=734073&r1=734072&r2=734073&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/transport/modules/base/src/main/java/org/apache/axis2/transport/base/BaseConstants.java
 (original)
+++ 
webservices/commons/trunk/modules/transport/modules/base/src/main/java/org/apache/axis2/transport/base/BaseConstants.java
 Tue Jan 13 00:42:49 2009
@@ -29,13 +29,18 @@
     public final static int PAUSED  = 2;
 
     /**
-     * The JMS message property specifying the SOAP Action
+     * A message property specifying the SOAP Action
      */
     public static final String SOAPACTION = "SOAPAction";
     /**
-     * The JMS message property specifying the content type
+     * A message property specifying the content type
      */
     public static final String CONTENT_TYPE = "Content-Type";
+    /** 
+     * A message context property indicating "TRUE", if a transport or the 
message builder
+     * has information that the current message is a fault (e.g. SOAP faults, 
non-HTTP 2xx, etc)
+     */
+    public static final String FAULT_MESSAGE = "FAULT_MESSAGE";
     /**
      * content type identifier for multipart / MTOM messages
      */

Modified: 
webservices/commons/trunk/modules/transport/modules/jms/src/main/java/org/apache/axis2/transport/jms/ServiceTaskManager.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/jms/src/main/java/org/apache/axis2/transport/jms/ServiceTaskManager.java?rev=734073&r1=734072&r2=734073&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/transport/modules/jms/src/main/java/org/apache/axis2/transport/jms/ServiceTaskManager.java
 (original)
+++ 
webservices/commons/trunk/modules/transport/modules/jms/src/main/java/org/apache/axis2/transport/jms/ServiceTaskManager.java
 Tue Jan 13 00:42:49 2009
@@ -775,7 +775,7 @@
             try {
                 conFactory = JMSUtils.lookup(
                     getInitialContext(), ConnectionFactory.class, 
getConnFactoryJNDIName());
-                log.info("Connected to the JMS connection factory : " + 
getConnFactoryJNDIName());
+                log.debug("Connected to the JMS connection factory : " + 
getConnFactoryJNDIName());
             } catch (NamingException e) {
                 handleException("Error looking up connection factory : " + 
getConnFactoryJNDIName() +
                     " using JNDI properties : " + jmsProperties, e);
@@ -791,7 +791,7 @@
 
                 connection.setExceptionListener(this);
                 connection.start();
-                log.info("JMS Connection for service : " + serviceName + " 
created and started");
+                log.debug("JMS Connection for service : " + serviceName + " 
created and started");
 
             } catch (JMSException e) {
                 handleException("Error acquiring a JMS connection to : " + 
getConnFactoryJNDIName() +


Reply via email to