Author: ningjiang
Date: Thu Oct 30 22:49:18 2008
New Revision: 709354

URL: http://svn.apache.org/viewvc?rev=709354&view=rev
Log:
CXF-1749 update the messages.properties

Modified:
    
cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
    
cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/Messages.properties

Modified: 
cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
URL: 
http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java?rev=709354&r1=709353&r2=709354&view=diff
==============================================================================
--- 
cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
 (original)
+++ 
cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
 Thu Oct 30 22:49:18 2008
@@ -188,7 +188,7 @@
         String normalizedEncoding = HttpHeaderHelper.mapCharset(enc);
         if (normalizedEncoding == null) {
             String m = new 
org.apache.cxf.common.i18n.Message("INVALID_ENCODING_MSG",
-                                                              LOG, 
enc).toString();
+                                                              LOG, new 
Object[] {enc}).toString();
             LOG.log(Level.WARNING, m);
             throw new UnsupportedEncodingException(m);   
         }

Modified: 
cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/Messages.properties
URL: 
http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/Messages.properties?rev=709354&r1=709353&r2=709354&view=diff
==============================================================================
--- 
cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/Messages.properties
 (original)
+++ 
cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/Messages.properties
 Thu Oct 30 22:49:18 2008
@@ -22,4 +22,5 @@
 INSUFFICIENT_CONFIGURATION_CONDUIT = Insufficient configuration for Conduit. 
Did you configure a <jms:conduit name=\"{0}\"> and set the 
jndiConnectionFactoryName ?
 INSUFFICIENT_CONFIGURATION_DESTINATION = Insufficient configuration for 
Destination. Did you configure a <jms:destination name=\"{0}\"> and set the 
jndiConnectionFactoryName ?
 JMSCONFIGFEATURE_ONLY_JMS = You can only use JMSConfigFeature with the jms 
transport
-JMSCONFIG_REQUIRED = You have to set the property jmsConfig
\ No newline at end of file
+JMSCONFIG_REQUIRED = You have to set the property jmsConfig
+INVALID_ENCODING_MSG = Invalid character set {0} in the message.
\ No newline at end of file


Reply via email to