[jboss-svn-commits] JBL Code SVN: r15920 - labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/message/mapping.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Oct 18 12:22:29 EDT 2007


Author: mark.little at jboss.com
Date: 2007-10-18 12:22:29 -0400 (Thu, 18 Oct 2007)
New Revision: 15920

Modified:
   labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/message/mapping/ObjectMapper.java
Log:
http://jira.jboss.com/jira/browse/JBESB-1184

Modified: labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/message/mapping/ObjectMapper.java
===================================================================
--- labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/message/mapping/ObjectMapper.java	2007-10-18 16:15:56 UTC (rev 15919)
+++ labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/message/mapping/ObjectMapper.java	2007-10-18 16:22:29 UTC (rev 15920)
@@ -51,6 +51,7 @@
  * objectname: name of the object. Since attachments can be named or numbered, this can be a
  * number too and will be converted to an integer value. If a stringified number is used elsewhere
  * to name an object then it will not be interpreted as an integer, i.e., it will remain as a string.
+ * The objectname can be hierarchical if required, but should be quoted in that case, e.g., 'foo.bar.a.b.c'.
  * <bean> : optionally you traverse a bean graph by specifying bean names.
  * 
  * examples : 
@@ -59,6 +60,7 @@
  * attachment.FirstAttachment, gets the attachment named 'FirstAttachment'
  * body.foo, gets the named Object foo
  * body.1 gets the named Object 1
+ * body.'foo.bar.a.b.c' looks for the Object named foo.bar.a.b.c in the body
  * 
  * @author kurt.stam at jboss.com
  * 
@@ -109,6 +111,7 @@
      * 
      * body.myObject MOP will add 'myObject', while
      * body.myObject.mySubObject MOP will create an entry of 'mySubObject'. 
+     * body.'myObject.mySubObject' MOP will create an entry of 'myObject.mySubject' in body.
      * 
      * in the returned List.
      * 




More information about the jboss-svn-commits mailing list