<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2727</id>
	<title>Nabble - Mule - User</title>
	<updated>2009-12-22T13:44:29Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Mule---User-f2727.xml;BR/&gt;&lt;BR/&gt;Paul" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mule---User-f2727.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26894807</id>
	<title>Re: How to send Map type messages</title>
	<published>2009-12-22T13:44:29Z</published>
	<updated>2009-12-22T13:44:29Z</updated>
	<author>
		<name>zhifangchang</name>
	</author>
	<content type="html">Thanks so much for the replies.
&lt;br&gt;&lt;br&gt;I have found the code that can send Mapmessages using Map holding other maps, but the code works in TIBCO messages, not IBM MQ. I have tried to modify it, just no luck. Anyone knows how to use MapMessage properties?
&lt;br&gt;&lt;br&gt;&lt;br&gt;public class ObjectToEMSMessage extends AbstractJmsTransformer
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; public static final String JMS_TIBCO_MSG_EXT = &amp;quot;JMS_TIBCO_MSG_EXT&amp;quot;;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public static final String JMS_TIBCO_PRESERVE_UNDELIVERED = &amp;quot;JMS_TIBCO_PRESERVE_UNDELIVERED&amp;quot;;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private static transient Log logger = LogFactory.getLog(ObjectToEMSMessage.class);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private static final long serialVersionUID = 1547034901937834003L;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* (non-Javadoc)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @see org.mule.transformer.AbstractMessageAwareTransformer#transform(org.mule.api.MuleMessage, java.lang.String)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; public Object transform(MuleMessage message, String outputStr) throws TransformerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object src = message.getPayload();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object result = null;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (logger.isDebugEnabled())
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logger.debug(&amp;quot;Source object is &amp;quot; + src.getClass().getName());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // we want to use embedded MapMessages for translation
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // to RV, a simple MapMessage won't work, because it creates
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // a flat message as opposed to multiple levels of nesting.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // EMS supports this via an extended implementation
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (src instanceof Map)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; result = getMapMessageForMap((Map) src);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logger.debug(&amp;quot;Transformed object to JMS message: &amp;quot; + result);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; result = transformToMessage(message);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Setting the EMS Specific properties here.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // AbstractJmsTransformer swallows the custom properties which start
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // with &amp;quot;JMS&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // hence these properties are set here.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ((Message) result).setBooleanProperty(JMS_TIBCO_PRESERVE_UNDELIVERED, true);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (logger.isDebugEnabled())
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logger.debug(&amp;quot;Resulting object is &amp;quot; + result.getClass().getName());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception e)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new TransformerException(this, e);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return result;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private Object getMapMessageForMap(Map map) throws JMSException, TransformerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MapMessage mapMsg;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // let's just get an empty message, we need to turn on extended
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // properties to properly create maps of maps
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mapMsg = (MapMessage) transformToMessage(new DefaultMuleMessage(new HashMap()));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logger.debug(&amp;quot;************* Get mapMsg :&amp;quot; + mapMsg);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mapMsg.setBooleanProperty(JMS_TIBCO_MSG_EXT, true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Map.Entry entry = null;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (Iterator i = map.entrySet().iterator(); i.hasNext();)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; entry = (Map.Entry) i.next();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (entry.getValue() instanceof Map)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // recurse
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mapMsg.setObject(entry.getKey().toString(), getMapMessageForMap((Map) entry.getValue()));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mapMsg.setObject(entry.getKey().toString(), entry.getValue());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (JMSException e)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logger.error(e);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw e;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return mapMsg;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;zhifangchang wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&amp;nbsp;We want to send a message in format of TreeMap, which holds its key in String, and its value in HashMap, but we run into exceptions(see below). I have posted the part of the mule-config below. We have defined a custom transformer from Map to JMSMesssage using Mule's ObjectToJMSMessage and tried in mule2.2.1, just no luck. Our application is running in JBOSS and IBM MQ. Any one has ideas on this issue? Is there something special we need to handle in order to send a message in format of TreeMap&amp;lt;String, HashMap&amp;gt;? &amp;nbsp;Thanks!
&lt;br&gt;&lt;br&gt;009-12-22 14:21:34,186 ERROR [jmsXAQueueConnector.dispatcher.24] mule.AbstractExceptionListener (AbstractExceptionListener.java:390) - 
&lt;br&gt;********************************************************************************
&lt;br&gt;Message &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : JMSCC0083: An incorrect object of type 'java.util.HashMap' was provided. (com.ibm.msg.client.jms.DetailedMessageFormatException)
&lt;br&gt;Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: org.mule.api.transformer.TransformerException
&lt;br&gt;Code &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: MULE_ERROR-64999
&lt;br&gt;Transformer &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : ObjectToJMSMessage{this=1e37fd24, name='MapToJMSMessage', ignoreBadInput=false, returnClass=interface javax.jms.MapMessage, sourceTypes=[]}
&lt;br&gt;JMS Code &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: JMSCC0083
&lt;br&gt;JavaDoc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : &lt;a href=&quot;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&lt;/a&gt;&lt;br&gt;********************************************************************************
&lt;br&gt;Exception stack is:
&lt;br&gt;1. JMSCC0083: An incorrect object of type 'java.util.HashMap' was provided.(JMS Code: JMSCC0083) (com.ibm.msg.client.jms.DetailedMessageFormatException)
&lt;br&gt;&amp;nbsp; sun.reflect.NativeConstructorAccessorImpl:-2 (null)
&lt;br&gt;2. JMSCC0083: An incorrect object of type 'java.util.HashMap' was provided. (com.ibm.msg.client.jms.DetailedMessageFormatException) (org.mule.api.transformer.TransformerException)
&lt;br&gt;&amp;nbsp; org.mule.transport.jms.transformers.AbstractJmsTransformer:80 (&lt;a href=&quot;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&lt;/a&gt;)
&lt;br&gt;********************************************************************************
&lt;br&gt;Root Exception stack trace:
&lt;br&gt;com.ibm.msg.client.jms.DetailedMessageFormatException: JMSCC0083: An incorrect object of type 'java.util.HashMap' was provided. An object was provided to the writeObject() method that was not a Java(tm) primitive wrapper type. Correct the application to ensure that only objects of the permitted types are passed as parameters to the writeObject() method.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:313)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:390)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.msg.client.jms.internal.JmsErrorUtils.createException(JmsErrorUtils.java:104)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.msg.client.jms.internal.JmsMapMessageImpl.setObject(JmsMapMessageImpl.java:795)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.jms.JMSMapMessage.setObject(JMSMapMessage.java:622)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.jms.JmsMessageUtils.toMessage(JmsMessageUtils.java:129)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.jms.transformers.AbstractJmsTransformer.transformToMessage(AbstractJmsTransformer.java:67)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.jms.transformers.ObjectToJMSMessage.transform(ObjectToJMSMessage.java:50)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transformer.AbstractMessageAwareTransformer.doTransform(AbstractMessageAwareTransformer.java:68)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyAllTransformers(DefaultMuleMessage.java:620)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:581)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:574)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:326)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:321)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.jms.JmsMessageDispatcher.dispatchMessage(JmsMessageDispatcher.java:151)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.jms.JmsMessageDispatcher.doDispatch(JmsMessageDispatcher.java:72)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:262)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.work.WorkerContext.run(WorkerContext.java:310)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;&lt;br&gt;********************************************************************************
&lt;br&gt;&lt;br&gt;&amp;lt;custom-transformer name=&amp;quot;MapToJMSMessage&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;org.mule.transport.jms.transformers.ObjectToJMSMessage&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; returnClass=&amp;quot;javax.jms.MapMessage&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;service name=&amp;quot;AcctWFM_TO_AdapterBO_TO_BO&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;nbsp; 	&amp;lt;jms:inbound-endpoint ref=&amp;quot;BAO&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; transformer-refs=&amp;quot;JMSMessageToObject&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/jms:inbound-endpoint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;component
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;com.lehman.tradepath.adapter.accounting.AdapterBO&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;custom-outbound-router
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;class=&amp;quot;com.lehman.tradepath.mule.FilteringListMessageSplitter&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;jms:outbound-endpoint ref=&amp;quot;BO_NOTIFICATION&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; transformer-refs=&amp;quot;MapToJMSMessage&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;payload-type-filter
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; expectedType=&amp;quot;java.util.Map&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/jms:outbound-endpoint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;payload-type-filter expectedType=&amp;quot;java.util.List&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/custom-outbound-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;lt;/service&amp;gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-send-Map-type-messages-tp26893223p26894807.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26894299</id>
	<title>Re: Re: how to access &lt;spring-object&gt; property value from  component.</title>
	<published>2009-12-22T12:59:48Z</published>
	<updated>2009-12-22T12:59:48Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">NVM, :-).. I got it figured out.. I was using the wrong transformer on the inbound.
&lt;br&gt;Everything works good now!
&lt;br&gt;&lt;br&gt;~matt
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-access-%3Cspring-object%3E-property-value-from-component.-tp26892515p26894299.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26894297</id>
	<title>Quartz started FTP onle gets one (1) file</title>
	<published>2009-12-22T12:59:31Z</published>
	<updated>2009-12-22T12:59:31Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;I have the following configuration:
&lt;br&gt;&lt;br&gt;&amp;lt;ftp:endpoint name=&amp;quot;FtpEndpoint&amp;quot; path=&amp;quot;export/home/enno/scanbatch/in&amp;quot; 
&lt;br&gt;port=&amp;quot;21&amp;quot; user=&amp;quot;enno&amp;quot; password=&amp;quot;********&amp;quot; host=&amp;quot;localhost&amp;quot; binary=&amp;quot;true&amp;quot; passive=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;/ftp:endpoint&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;file:connector name=&amp;quot;fileOutboundConnector&amp;quot;
&lt;br&gt;outputPattern=&amp;quot;#[header:originalFilename|&lt;a href=&quot;http://forums.mulesoft.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forums.mulesoft.org/&lt;/a&gt;]&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;file:expression-filename-parser /&amp;gt;
&lt;br&gt;&amp;lt;/file:connector&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;model name=&amp;quot;main&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;service name=&amp;quot;testService&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;lt;quartz:inbound-endpoint name=&amp;quot;FTP&amp;quot;
&lt;br&gt;cronExpression=&amp;quot;0,30 * * * * ?&amp;quot; jobName=&amp;quot;job1&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;quartz:endpoint-polling-job&amp;gt;
&lt;br&gt;&amp;lt;quartz:job-endpoint ref=&amp;quot;FtpEndpoint&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/quartz:endpoint-polling-job&amp;gt;
&lt;br&gt;&amp;lt;/quartz:inbound-endpoint&amp;gt;
&lt;br&gt;&amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;lt;!-- 
&lt;br&gt;&amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;lt;ftp:inbound-endpoint user=&amp;quot;enno&amp;quot; password=&amp;quot;********&amp;quot;
&lt;br&gt;host=&amp;quot;localhost&amp;quot; port=&amp;quot;21&amp;quot; path=&amp;quot;export/home/enno/scanbatch/in&amp;quot;
&lt;br&gt;pollingFrequency=&amp;quot;3600000&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/inbound&amp;gt;
&lt;br&gt;--&amp;gt;
&lt;br&gt;&amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;lt;pass-through-router&amp;gt;
&lt;br&gt;&amp;lt;file:outbound-endpoint path=&amp;quot;/export/home/enno/scanbatch/out&amp;quot;
&lt;br&gt;connector-ref=&amp;quot;fileOutboundConnector&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/pass-through-router&amp;gt;
&lt;br&gt;&amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;lt;/service&amp;gt;
&lt;br&gt;&amp;lt;/model&amp;gt;
&lt;br&gt;&amp;lt;/mule&amp;gt;
&lt;br&gt;&lt;br&gt;I have multiple files in the 'in' directory.
&lt;br&gt;When I comment-out the quartz inbound part and use the ftp inbound part, all the files in the 'in' directory are ftp-ed into the 'out' directoryand the 'in' directory becomes empty..
&lt;br&gt;But when I use quartz the start the FTP-ing and comment out the FTP inbound (as can be seen in the configuration above), only one/just one, of the files in my 'in' directory is FTP-ed into the 'out' directory and also stays available in the 'in' directory.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Can anyone tell me what I do wrong here and how I can use quartz to start a FTP session which copies all the files from an 'in' to an 'out' directory?
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Enno.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Quartz-started-FTP-onle-gets-one-%281%29-file-tp26894297p26894297.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26893928</id>
	<title>Re: how to access &lt;spring-object&gt; property value from component.</title>
	<published>2009-12-22T12:32:49Z</published>
	<updated>2009-12-22T12:32:49Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">Matt,
&lt;br&gt;&lt;br&gt;Remove the object-to-string transformer and the OrdersXmlToList from your file:inbound-endpoint, but hold the XmlToDom and addOrderId. This way the ReceiverFileInputStream will be transformed to a DOM tree (assuming the file is an XML file) and the addOrderId will pick the right element and stores it in a message property.
&lt;br&gt;&lt;br&gt;You are saying that the mule-xml namespace doesn't work. Have you added the right schemaLocation for this namespace (&lt;a href=&quot;http://www.mulesource.org/schema/mule/xml/2.2/mule-xml.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/xml/2.2/mule-xml.xsd&lt;/a&gt;)?
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;Mario
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-access-%3Cspring-object%3E-property-value-from-component.-tp26892515p26893928.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26893839</id>
	<title>Re: Re: how to access &lt;spring-object&gt; property value from  component.</title>
	<published>2009-12-22T12:26:35Z</published>
	<updated>2009-12-22T12:26:35Z</updated>
	<author>
		<name>David Dossot-3</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;It is basically a ping service provider. Anyway, the transformer thing doesn&amp;#39;t work, it seems to want a different namespace for &amp;lt;mule-xml:xml-to-dom-transformer name=&amp;quot;XmlToDom&amp;quot; returnClass=&amp;quot;org.w3c.dom.Document&amp;quot; /&amp;gt; in which I am using xmlns:mule-xml=&amp;quot;&lt;a href=&quot;http://www.mulesource.org/schema/mule/xml/2.2&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/xml/2.2&lt;/a&gt;&lt;/blockquote&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Can you show the error you get here? Because this should work and is probably you best shot, as Mario said.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;D.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-access-%3Cspring-object%3E-property-value-from-component.-tp26892515p26893839.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26893741</id>
	<title>Re: how to access &lt;spring-object&gt; property value from component.</title>
	<published>2009-12-22T12:19:55Z</published>
	<updated>2009-12-22T12:19:55Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">java.lang.ClassCastException: org.mule.transport.file.ReceiverFileInputStream
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.zipinstalls.connect.esb.service.volusion.component.VolusionCheckNewOrderStatusService.onCall(VolusionCheckNewOrderStatusService.java:35)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:205)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.service.AbstractService.invokeComponent(AbstractService.java:929)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.model.seda.SedaService.access$100(SedaService.java:56)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.model.seda.SedaService$ComponentStageWorker.run(SedaService.java:574)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.work.WorkerContext.run(WorkerContext.java:310)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy.rejectedExecution(ThreadPoolExecutor.java:1895)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:765)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1288)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.work.ScheduleWorkExecutor.doExecute(ScheduleWorkExecutor.java:41)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.work.MuleWorkManager.executeWork(MuleWorkManager.java:268)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.work.MuleWorkManager.scheduleWork(MuleWorkManager.java:231)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.model.seda.SedaService.run(SedaService.java:380)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.work.WorkerContext.run(WorkerContext.java:310)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:613)
&lt;br&gt;INFO &amp;nbsp;2009-12-22 14:13:01,494 [volusionInboundFileConnector.dispatcher.15] org.mule.transport.file.FileMessageDispatcher: Connected: endpoint.outbound.file://data/volusion/orders/order
&lt;br&gt;[Fatal Error] :-1:-1: Premature end of file.
&lt;br&gt;ERROR: &amp;nbsp;'Premature end of file.'
&lt;br&gt;ERROR 2009-12-22 14:13:01,513 [volusionInboundFileConnector.dispatcher.15] org.mule.DefaultExceptionStrategy:
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-access-%3Cspring-object%3E-property-value-from-component.-tp26892515p26893741.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26893669</id>
	<title>Re: how to access &lt;spring-object&gt; property value from component.</title>
	<published>2009-12-22T12:15:01Z</published>
	<updated>2009-12-22T12:15:01Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">The thing is that it is not reading as such.. here is the service I am trying to stand up..
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;volusion-new-order-inbound&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;file:inbound-endpoint path=&amp;quot;${volusion.inbound.new.path}&amp;quot; pollingFrequency=&amp;quot;5000&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; connector-ref=&amp;quot;volusionInboundFileConnector&amp;quot; &amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;object-to-string-transformer /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;transformer refs=&amp;quot;OrdersXmlToList XmlToDom addOrderId&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/file:inbound-endpoint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;component&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring-object bean=&amp;quot;volusionCheckNewOrderStatusService&amp;quot; &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--&amp;lt;property key=&amp;quot;orderId&amp;quot; value=&amp;quot;#[xpath:/xmldata/Orders/OrderID]&amp;quot; /&amp;gt;--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/spring-object&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/component&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--&amp;lt;filtering-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;file:outbound-endpoint path=&amp;quot;${volusion.order.path}&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; outputPattern=&amp;quot;#[function:datestamp:yyyy-MM-dd_HH-mm-ss.S]-id-#[xpath:/xmldata/Orders/OrderID].xml&amp;quot; connector-ref=&amp;quot;volusionInboundFileConnector&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;regex-filter pattern=&amp;quot;OrderStatus\&amp;gt;[^Nn][^Ee][^Ww].*/OrderStatus\&amp;gt;&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/filtering-router&amp;gt;--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filtering-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;file:outbound-endpoint path=&amp;quot;${volusion.inbound.new.path}&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; outputPattern=&amp;quot;#[xpath:/xmldata/Orders/OrderID].xml&amp;quot; connector-ref=&amp;quot;volusionInboundFileConnector&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;regex-filter pattern=&amp;quot;OrderStatus\&amp;gt;New.*/OrderStatus\&amp;gt;&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/filtering-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;forwarding-catch-all-strategy&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;file:outbound-endpoint path=&amp;quot;${volusion.order.path}&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; outputPattern=&amp;quot;#[function:datestamp:yyyy-MM-dd_HH-mm-ss.S]-id-#[xpath:/xmldata/Orders/OrderID].xml&amp;quot; connector-ref=&amp;quot;volusionInboundFileConnector&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/forwarding-catch-all-strategy&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/outbound&amp;gt;	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/service&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;It is basically a ping service provider. Anyway, the transformer thing doesn't work, it seems to want a different namespace for &amp;lt;mule-xml:xml-to-dom-transformer name=&amp;quot;XmlToDom&amp;quot; returnClass=&amp;quot;org.w3c.dom.Document&amp;quot; /&amp;gt; in which I am using xmlns:mule-xml=&amp;quot;&lt;a href=&quot;http://www.mulesource.org/schema/mule/xml/2.2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/schema/mule/xml/2.2&lt;/a&gt;&lt;br&gt;&lt;br&gt;As far as why I can't use the inbound.. I dunno, I would love to.. but the Callable interface seems to keep passing me a mule message of ReceiverFileInputStream and won't let me cast java.lang.ClassCastException: org.mule.transport.file.ReceiverFileInputStream. Any input on how to make that work would be even better. I have managed to get everything else going except this, and I am a newb to this platform.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-access-%3Cspring-object%3E-property-value-from-component.-tp26892515p26893669.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26893610</id>
	<title>Re: How to send Map type messages</title>
	<published>2009-12-22T12:10:03Z</published>
	<updated>2009-12-22T12:10:03Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">According to the specs the value of a JMSMapMessage are primitives, so you cannot pass a HashMap as a value.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-send-Map-type-messages-tp26893223p26893610.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26893552</id>
	<title>Re: Enable Statistics w/out using JXM?</title>
	<published>2009-12-22T12:03:50Z</published>
	<updated>2009-12-22T12:03:50Z</updated>
	<author>
		<name>Andrew Perepelytsya</name>
	</author>
	<content type="html">Also, you can read &lt;a href=&quot;http://blogs.mulesoft.org/start-me-oh-so-gently/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blogs.mulesoft.org/start-me-oh-so-gently/&lt;/a&gt; and create a trivial startup class to enable it automatically. Then again, it&amp;#39;s all about how you export the data to the outside world.&lt;br&gt;
&lt;br&gt;HTH,&lt;br&gt;Andrew&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Dec 22, 2009 at 2:17 PM, Mike Manske &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26893552&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mule.user.relay@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
JMX may not be the best fit for me, but I would like to track with statistics. Is it possible to enable stats on the mule context via the config?&lt;br&gt;
&lt;br&gt;
The only way I found to do it was in a script component, but that was burdensome, did not count the first message (which sets enable).&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Enable-Statistics-w-out-using-JXM--tp26892911p26893552.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26893392</id>
	<title>Re: Enabling statistics w/out JMX?</title>
	<published>2009-12-22T11:54:04Z</published>
	<updated>2009-12-22T11:54:04Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">We do exactly the same. Enable JMX statistics and export the statistics as csv over a simple http call instead of JMX.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Enabling-statistics-w-out-JMX--tp26892763p26893392.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26893419</id>
	<title>Re: How to send Map type messages</title>
	<published>2009-12-22T11:53:19Z</published>
	<updated>2009-12-22T11:53:19Z</updated>
	<author>
		<name>David Dossot-3</name>
	</author>
	<content type="html">Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.j2ee.me/j2ee/1.4/docs/api/javax/jms/MapMessage.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;JMS Map messages&lt;/a&gt; do not support Map as a valid value type.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;You have to follow another path like serializing your Treemap payload into binary or XML (using one of Mule&amp;#39;s existing filters) and let Mule&amp;#39;s JMS transport default ObjectToJMS transformer turn it into a JMS BytesMessage or a JMS TextMessage.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;HTH&lt;/div&gt;&lt;div&gt;D.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Dec 22, 2009 at 11:42 AM, zhifangchang &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26893419&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fanny.Chang@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;br&gt;
 We want to send a message in format of TreeMap, which holds its key in&lt;br&gt;
String, and its value in HashMap, but we run into exceptions(see below). I&lt;br&gt;
have posted the part of the mule-config below. We have defined a custom&lt;br&gt;
transformer from Map to JMSMesssage using Mule&amp;#39;s ObjectToJMSMessage and&lt;br&gt;
tried in mule2.2.1, just no luck. Our application is running in JBOSS and&lt;br&gt;
IBM MQ. Any one has ideas on this issue? Is there something special we need&lt;br&gt;
to handle in order to send a message in format of TreeMap&amp;lt;String, HashMap&amp;gt;?&lt;br&gt;
Thanks!&lt;br&gt;
&lt;br&gt;
009-12-22 14:21:34,186 ERROR [jmsXAQueueConnector.dispatcher.24]&lt;br&gt;
mule.AbstractExceptionListener (AbstractExceptionListener.java:390) -&lt;br&gt;
********************************************************************************&lt;br&gt;
Message               : JMSCC0083: An incorrect object of type&lt;br&gt;
&amp;#39;java.util.HashMap&amp;#39; was provided.&lt;br&gt;
(com.ibm.msg.client.jms.DetailedMessageFormatException)&lt;br&gt;
Type                  : org.mule.api.transformer.TransformerException&lt;br&gt;
Code                  : MULE_ERROR-64999&lt;br&gt;
Transformer           : ObjectToJMSMessage{this=1e37fd24,&lt;br&gt;
name=&amp;#39;MapToJMSMessage&amp;#39;, ignoreBadInput=false, returnClass=interface&lt;br&gt;
javax.jms.MapMessage, sourceTypes=[]}&lt;br&gt;
JMS Code              : JMSCC0083&lt;br&gt;
JavaDoc               :&lt;br&gt;
&lt;a href=&quot;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&lt;/a&gt;&lt;br&gt;


********************************************************************************&lt;br&gt;
Exception stack is:&lt;br&gt;
1. JMSCC0083: An incorrect object of type &amp;#39;java.util.HashMap&amp;#39; was&lt;br&gt;
provided.(JMS Code: JMSCC0083)&lt;br&gt;
(com.ibm.msg.client.jms.DetailedMessageFormatException)&lt;br&gt;
  sun.reflect.NativeConstructorAccessorImpl:-2 (null)&lt;br&gt;
2. JMSCC0083: An incorrect object of type &amp;#39;java.util.HashMap&amp;#39; was provided.&lt;br&gt;
(com.ibm.msg.client.jms.DetailedMessageFormatException)&lt;br&gt;
(org.mule.api.transformer.TransformerException)&lt;br&gt;
  org.mule.transport.jms.transformers.AbstractJmsTransformer:80&lt;br&gt;
(&lt;a href=&quot;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&lt;/a&gt;)&lt;br&gt;


********************************************************************************&lt;br&gt;
Root Exception stack trace:&lt;br&gt;
com.ibm.msg.client.jms.DetailedMessageFormatException: JMSCC0083: An&lt;br&gt;
incorrect object of type &amp;#39;java.util.HashMap&amp;#39; was provided. An object was&lt;br&gt;
provided to the writeObject() method that was not a Java(tm) primitive&lt;br&gt;
wrapper type. Correct the application to ensure that only objects of the&lt;br&gt;
permitted types are passed as parameters to the writeObject() method.&lt;br&gt;
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;br&gt;
        at&lt;br&gt;
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)&lt;br&gt;
        at&lt;br&gt;
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)&lt;br&gt;
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)&lt;br&gt;
        at&lt;br&gt;
com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:313)&lt;br&gt;
        at&lt;br&gt;
com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:390)&lt;br&gt;
        at&lt;br&gt;
com.ibm.msg.client.jms.internal.JmsErrorUtils.createException(JmsErrorUtils.java:104)&lt;br&gt;
        at&lt;br&gt;
com.ibm.msg.client.jms.internal.JmsMapMessageImpl.setObject(JmsMapMessageImpl.java:795)&lt;br&gt;
        at com.ibm.jms.JMSMapMessage.setObject(JMSMapMessage.java:622)&lt;br&gt;
        at&lt;br&gt;
org.mule.transport.jms.JmsMessageUtils.toMessage(JmsMessageUtils.java:129)&lt;br&gt;
        at&lt;br&gt;
org.mule.transport.jms.transformers.AbstractJmsTransformer.transformToMessage(AbstractJmsTransformer.java:67)&lt;br&gt;
        at&lt;br&gt;
org.mule.transport.jms.transformers.ObjectToJMSMessage.transform(ObjectToJMSMessage.java:50)&lt;br&gt;
        at&lt;br&gt;
org.mule.transformer.AbstractMessageAwareTransformer.doTransform(AbstractMessageAwareTransformer.java:68)&lt;br&gt;
        at&lt;br&gt;
org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254)&lt;br&gt;
        at&lt;br&gt;
org.mule.DefaultMuleMessage.applyAllTransformers(DefaultMuleMessage.java:620)&lt;br&gt;
        at&lt;br&gt;
org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:581)&lt;br&gt;
        at&lt;br&gt;
org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:574)&lt;br&gt;
        at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:326)&lt;br&gt;
        at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:321)&lt;br&gt;
        at&lt;br&gt;
org.mule.transport.jms.JmsMessageDispatcher.dispatchMessage(JmsMessageDispatcher.java:151)&lt;br&gt;
        at&lt;br&gt;
org.mule.transport.jms.JmsMessageDispatcher.doDispatch(JmsMessageDispatcher.java:72)&lt;br&gt;
        at&lt;br&gt;
org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:262)&lt;br&gt;
        at org.mule.work.WorkerContext.run(WorkerContext.java:310)&lt;br&gt;
        at&lt;br&gt;
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)&lt;br&gt;
        at&lt;br&gt;
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)&lt;br&gt;
        at java.lang.Thread.run(Thread.java:595)&lt;br&gt;
&lt;br&gt;
********************************************************************************&lt;br&gt;
&lt;br&gt;
&amp;lt;custom-transformer name=&amp;quot;MapToJMSMessage&amp;quot;&lt;br&gt;
        class=&amp;quot;org.mule.transport.jms.transformers.ObjectToJMSMessage&amp;quot;&lt;br&gt;
        returnClass=&amp;quot;javax.jms.MapMessage&amp;quot; /&amp;gt;&lt;br&gt;
&lt;br&gt;
&amp;lt;service name=&amp;quot;AcctWFM_TO_AdapterBO_TO_BO&amp;quot;&amp;gt;&lt;br&gt;
    &amp;lt;inbound&amp;gt;&lt;br&gt;
        &amp;lt;jms:inbound-endpoint ref=&amp;quot;BAO&amp;quot;&lt;br&gt;
                        transformer-refs=&amp;quot;JMSMessageToObject&amp;quot;&amp;gt;&lt;br&gt;
        &amp;lt;/jms:inbound-endpoint&amp;gt;&lt;br&gt;
   &amp;lt;/inbound&amp;gt;&lt;br&gt;
        &amp;lt;component&lt;br&gt;
                class=&amp;quot;com.lehman.tradepath.adapter.accounting.AdapterBO&amp;quot; /&amp;gt;&lt;br&gt;
  &amp;lt;outbound&amp;gt;&lt;br&gt;
        &amp;lt;custom-outbound-router&lt;br&gt;
         class=&amp;quot;com.lehman.tradepath.mule.FilteringListMessageSplitter&amp;quot;&amp;gt;&lt;br&gt;
           &amp;lt;jms:outbound-endpoint ref=&amp;quot;BO_NOTIFICATION&amp;quot;&lt;br&gt;
                transformer-refs=&amp;quot;MapToJMSMessage&amp;quot;&amp;gt;&lt;br&gt;
&lt;br&gt;
                &amp;lt;payload-type-filter&lt;br&gt;
                                expectedType=&amp;quot;java.util.Map&amp;quot; /&amp;gt;&lt;br&gt;
         &amp;lt;/jms:outbound-endpoint&amp;gt;&lt;br&gt;
        &amp;lt;payload-type-filter expectedType=&amp;quot;java.util.List&amp;quot; /&amp;gt;&lt;br&gt;
                &amp;lt;/custom-outbound-router&amp;gt;&lt;br&gt;
  &amp;lt;/outbound&amp;gt;&lt;br&gt;
&amp;lt;/service&amp;gt;&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/How-to-send-Map-type-messages-tp26893223p26893223.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/How-to-send-Map-type-messages-tp26893223p26893223.html&lt;/a&gt;&lt;br&gt;
Sent from the Mule - User mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-send-Map-type-messages-tp26893223p26893419.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26893338</id>
	<title>Re: how to access &lt;spring-object&gt; property value from component.</title>
	<published>2009-12-22T11:50:14Z</published>
	<updated>2009-12-22T11:50:14Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">But the question is: Why is this necessary?
&lt;br&gt;&lt;br&gt;If I look a little bit closer to your code, it seems that your payload is already a JAXB java object. So getting the orderId from the payload in your service as you already do in your code is just fine.
&lt;br&gt;&lt;br&gt;Mario
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-access-%3Cspring-object%3E-property-value-from-component.-tp26892515p26893338.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26893223</id>
	<title>How to send Map type messages</title>
	<published>2009-12-22T11:42:42Z</published>
	<updated>2009-12-22T11:42:42Z</updated>
	<author>
		<name>zhifangchang</name>
	</author>
	<content type="html">&amp;nbsp;We want to send a message in format of TreeMap, which holds its key in String, and its value in HashMap, but we run into exceptions(see below). I have posted the part of the mule-config below. We have defined a custom transformer from Map to JMSMesssage using Mule's ObjectToJMSMessage and tried in mule2.2.1, just no luck. Our application is running in JBOSS and IBM MQ. Any one has ideas on this issue? Is there something special we need to handle in order to send a message in format of TreeMap&amp;lt;String, HashMap&amp;gt;? &amp;nbsp;Thanks!
&lt;br&gt;&lt;br&gt;009-12-22 14:21:34,186 ERROR [jmsXAQueueConnector.dispatcher.24] mule.AbstractExceptionListener (AbstractExceptionListener.java:390) - 
&lt;br&gt;********************************************************************************
&lt;br&gt;Message &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : JMSCC0083: An incorrect object of type 'java.util.HashMap' was provided. (com.ibm.msg.client.jms.DetailedMessageFormatException)
&lt;br&gt;Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: org.mule.api.transformer.TransformerException
&lt;br&gt;Code &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: MULE_ERROR-64999
&lt;br&gt;Transformer &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : ObjectToJMSMessage{this=1e37fd24, name='MapToJMSMessage', ignoreBadInput=false, returnClass=interface javax.jms.MapMessage, sourceTypes=[]}
&lt;br&gt;JMS Code &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: JMSCC0083
&lt;br&gt;JavaDoc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : &lt;a href=&quot;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&lt;/a&gt;&lt;br&gt;********************************************************************************
&lt;br&gt;Exception stack is:
&lt;br&gt;1. JMSCC0083: An incorrect object of type 'java.util.HashMap' was provided.(JMS Code: JMSCC0083) (com.ibm.msg.client.jms.DetailedMessageFormatException)
&lt;br&gt;&amp;nbsp; sun.reflect.NativeConstructorAccessorImpl:-2 (null)
&lt;br&gt;2. JMSCC0083: An incorrect object of type 'java.util.HashMap' was provided. (com.ibm.msg.client.jms.DetailedMessageFormatException) (org.mule.api.transformer.TransformerException)
&lt;br&gt;&amp;nbsp; org.mule.transport.jms.transformers.AbstractJmsTransformer:80 (&lt;a href=&quot;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html&lt;/a&gt;)
&lt;br&gt;********************************************************************************
&lt;br&gt;Root Exception stack trace:
&lt;br&gt;com.ibm.msg.client.jms.DetailedMessageFormatException: JMSCC0083: An incorrect object of type 'java.util.HashMap' was provided. An object was provided to the writeObject() method that was not a Java(tm) primitive wrapper type. Correct the application to ensure that only objects of the permitted types are passed as parameters to the writeObject() method.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:313)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:390)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.msg.client.jms.internal.JmsErrorUtils.createException(JmsErrorUtils.java:104)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.msg.client.jms.internal.JmsMapMessageImpl.setObject(JmsMapMessageImpl.java:795)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.jms.JMSMapMessage.setObject(JMSMapMessage.java:622)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.jms.JmsMessageUtils.toMessage(JmsMessageUtils.java:129)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.jms.transformers.AbstractJmsTransformer.transformToMessage(AbstractJmsTransformer.java:67)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.jms.transformers.ObjectToJMSMessage.transform(ObjectToJMSMessage.java:50)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transformer.AbstractMessageAwareTransformer.doTransform(AbstractMessageAwareTransformer.java:68)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyAllTransformers(DefaultMuleMessage.java:620)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:581)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:574)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:326)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:321)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.jms.JmsMessageDispatcher.dispatchMessage(JmsMessageDispatcher.java:151)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.jms.JmsMessageDispatcher.doDispatch(JmsMessageDispatcher.java:72)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:262)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.work.WorkerContext.run(WorkerContext.java:310)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;&lt;br&gt;********************************************************************************
&lt;br&gt;&lt;br&gt;&amp;lt;custom-transformer name=&amp;quot;MapToJMSMessage&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;org.mule.transport.jms.transformers.ObjectToJMSMessage&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; returnClass=&amp;quot;javax.jms.MapMessage&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;service name=&amp;quot;AcctWFM_TO_AdapterBO_TO_BO&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;nbsp; 	&amp;lt;jms:inbound-endpoint ref=&amp;quot;BAO&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; transformer-refs=&amp;quot;JMSMessageToObject&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/jms:inbound-endpoint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;component
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;com.lehman.tradepath.adapter.accounting.AdapterBO&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;custom-outbound-router
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;class=&amp;quot;com.lehman.tradepath.mule.FilteringListMessageSplitter&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;jms:outbound-endpoint ref=&amp;quot;BO_NOTIFICATION&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; transformer-refs=&amp;quot;MapToJMSMessage&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;payload-type-filter
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; expectedType=&amp;quot;java.util.Map&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/jms:outbound-endpoint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;payload-type-filter expectedType=&amp;quot;java.util.List&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/custom-outbound-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;lt;/service&amp;gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-send-Map-type-messages-tp26893223p26893223.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26893191</id>
	<title>Re: how to access &lt;spring-object&gt; property value from component.</title>
	<published>2009-12-22T11:40:27Z</published>
	<updated>2009-12-22T11:40:27Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">I think whatyou are trying to achieve is the following:
&lt;br&gt;&lt;br&gt;1) Get the OrderId from the payload and store this as a property orderId to the message
&lt;br&gt;2) In your service you want to pick the orderId and the order and do something with it.
&lt;br&gt;&lt;br&gt;What you try to do is set a property on the spring bean. This is not correct.
&lt;br&gt;&lt;br&gt;For step 1 you could use the message-property-transformer, see the example below:
&lt;br&gt;&lt;br&gt;&amp;lt;message-properties-transformer name=&amp;quot;addOrderId&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;add-message-property key=&amp;quot;orderId&amp;quot; value=&amp;quot;#[xpath:/xmldata/Orders/OrderID]&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/message-properties-transformer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;mule-xml:xml-to-dom-transformer
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; name=&amp;quot;XmlToDom&amp;quot; returnClass=&amp;quot;org.w3c.dom.Document&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;model name=&amp;quot;PropertyExample&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;my-service&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;vm:inbound-endpoint path=&amp;quot;inbound-channel&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;transformer-refs=&amp;quot;XmlToDom addOrderId&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;ltcomponent&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring-object bean=&amp;quot;yourSpringBean&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt/component&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/service&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/model&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Mario Klaver
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-access-%3Cspring-object%3E-property-value-from-component.-tp26892515p26893191.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26892911</id>
	<title>Enable Statistics w/out using JXM?</title>
	<published>2009-12-22T11:17:34Z</published>
	<updated>2009-12-22T11:17:34Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">JMX may not be the best fit for me, but I would like to track with statistics. Is it possible to enable stats on the mule context via the config?
&lt;br&gt;&lt;br&gt;The only way I found to do it was in a script component, but that was burdensome, did not count the first message (which sets enable).
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Enable-Statistics-w-out-using-JXM--tp26892911p26892911.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26892909</id>
	<title>Re: Enabling statistics w/out JMX?</title>
	<published>2009-12-22T11:15:52Z</published>
	<updated>2009-12-22T11:15:52Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">sorry - posted to the wrong forum.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Enabling-statistics-w-out-JMX--tp26892763p26892909.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26892779</id>
	<title>Re: Enabling statistics w/out JMX?</title>
	<published>2009-12-22T11:07:17Z</published>
	<updated>2009-12-22T11:07:17Z</updated>
	<author>
		<name>Andrew Perepelytsya</name>
	</author>
	<content type="html">Why is it a problem for you? Just enable JMX locally, you don&amp;#39;t have to create a remote server connector.&lt;br&gt;&lt;br&gt;Andrew&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Dec 22, 2009 at 2:06 PM, Mike Manske &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26892779&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mule.user.relay@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;JMX may not be the best fit for me, but I would like to track with statistics.  Is it possible to enable stats on the mule context via the config?&lt;br&gt;

&lt;br&gt;
The only way I found to do it was in a script component, but that was burdensome, did not count the first message (which sets enable).&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Enabling-statistics-w-out-JMX--tp26892763p26892779.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26892763</id>
	<title>Enabling statistics w/out JMX?</title>
	<published>2009-12-22T11:06:08Z</published>
	<updated>2009-12-22T11:06:08Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">JMX may not be the best fit for me, but I would like to track with statistics. &amp;nbsp;Is it possible to enable stats on the mule context via the config? &amp;nbsp;
&lt;br&gt;&lt;br&gt;The only way I found to do it was in a script component, but that was burdensome, did not count the first message (which sets enable).
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Enabling-statistics-w-out-JMX--tp26892763p26892763.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26892515</id>
	<title>how to access &lt;spring-object&gt; property value from component.</title>
	<published>2009-12-22T10:47:38Z</published>
	<updated>2009-12-22T10:47:38Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">I am getting frustrated not being able to access the orderId property value.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;component&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring-object bean=&amp;quot;volusionCheckNewOrderStatusService&amp;quot; &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property key=&amp;quot;orderId&amp;quot; value=&amp;quot;#[xpath:/xmldata/Orders/OrderID]&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/spring-object&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/component&amp;gt;
&lt;br&gt;&lt;br&gt;-------------------------------------
&lt;br&gt;Here is the component. - Note: I have tried several things to get this value... as seen.
&lt;br&gt;&lt;br&gt;package com.zipinstalls.connect.esb.service.volusion.component;
&lt;br&gt;&lt;br&gt;import org.apache.commons.lang.StringUtils;
&lt;br&gt;import org.apache.log4j.Logger;
&lt;br&gt;import org.mule.api.MuleEventContext;
&lt;br&gt;import org.mule.api.lifecycle.Callable;
&lt;br&gt;&lt;br&gt;import com.zipinstalls.connect.esb.common.component.base.BaseOrderService;
&lt;br&gt;import com.zipinstalls.connect.esb.service.volusion.api.http.orders.VolusionSingleOrderDao;
&lt;br&gt;import com.zipinstalls.connect.esb.service.volusion.api.jaxb.orders.Xmldata.Orders;
&lt;br&gt;import com.zipinstalls.connect.esb.service.volusion.message.VolusionOrderData;
&lt;br&gt;&lt;br&gt;public class VolusionCheckNewOrderStatusService &amp;nbsp; implements Callable {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private static final String EMPTY_XML_DATA_ELEMENT = &amp;quot;&amp;lt;xmldata /&amp;gt;&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private VolusionSingleOrderDao order;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private int orderId;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private static final Logger logger = Logger.getLogger(VolusionCheckNewOrderStatusService.class);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public VolusionSingleOrderDao getOrder() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return order;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void setOrder(VolusionSingleOrderDao order) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.order = order;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void volusionCheckNewOrder(VolusionOrderData orderData) {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Object onCall(MuleEventContext eventContext) throws Exception {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String xmlData =&amp;quot;&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VolusionOrderData volusionOrderData = new VolusionOrderData();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logger.info(eventContext.getMessage().getProperty(&amp;quot;orderId&amp;quot;));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; volusionOrderData.setOrderXmlData((com.zipinstalls.connect.esb.service.volusion.api.jaxb.orders.Xmldata) eventContext.getMessage().getPayload());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logger.info(&amp;quot;THE ORDER IS THIS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&amp;quot;+volusionOrderData.getOrderXmlData().getOrders().get(0).getOrderID());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlData = this.getOrder().findOrderWithId(volusionOrderData.getOrderXmlData().getOrders().get(0).getOrderID());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //(xmlData);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (xmlData.matches(&amp;quot;OrderStatus&amp;gt;New.*/OrderStatus&amp;gt;&amp;quot;)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eventContext.setStopFurtherProcessing(true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlData = xmlData.replaceAll(&amp;quot;&amp;&amp;quot;,&amp;quot;And&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logger.info(xmlData);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // TODO Auto-generated catch block
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.printStackTrace();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return xmlData;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public int getOrderId() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return orderId;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void setOrderId(int orderId) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.orderId = orderId;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-access-%3Cspring-object%3E-property-value-from-component.-tp26892515p26892515.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26886392</id>
	<title>Re: File transport writeToDirectory and path questions</title>
	<published>2009-12-22T02:34:11Z</published>
	<updated>2009-12-22T02:34:11Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">Mario,
&lt;br&gt;&lt;br&gt;Thanks, that worked great!.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Enno.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/File-transport-writeToDirectory-and-path-questions-tp26883485p26886392.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26885442</id>
	<title>Re: File transport writeToDirectory and path questions</title>
	<published>2009-12-22T00:57:10Z</published>
	<updated>2009-12-22T00:57:10Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">Enno,
&lt;br&gt;&lt;br&gt;I can't answer your questions, but you could work around your problem by setting the datestamp expression on your outputPattern instead of the writeToDirectory, like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;file:connector name=&amp;quot;fileOutboundConnector&amp;quot; outputPattern=&amp;quot;#[function:datestamp]/#[header:originalFilename]&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; streaming=&amp;quot;false&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;file:expression-filename-parser /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/file:connector&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;model name=&amp;quot;FileExample&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;enno-service&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;file:inbound-endpoint path=&amp;quot;inbox&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pollingFrequency=&amp;quot;3000&amp;quot; moveToDirectory=&amp;quot;moveto&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;pass-through-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;file:outbound-endpoint path=&amp;quot;outbox&amp;quot; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; connector-ref=&amp;quot;fileOutboundConnector&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/pass-through-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/service&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/model&amp;gt;
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;&lt;br&gt;Mario Klaver
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/File-transport-writeToDirectory-and-path-questions-tp26883485p26885442.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26883485</id>
	<title>File transport writeToDirectory and path questions</title>
	<published>2009-12-21T19:29:09Z</published>
	<updated>2009-12-21T19:29:09Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I have the following configuration:
&lt;br&gt;&lt;br&gt;bq. &amp;lt;file:connector name=&amp;quot;fileOutboundConnector&amp;quot; writeToDirectory=&amp;quot;#[function:dateStamp-yyyy-MM-dd|&lt;a href=&quot;http://forums.mulesoft.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forums.mulesoft.org/&lt;/a&gt;]&amp;quot; outputPattern=&amp;quot;#[header:originalFilename|&lt;a href=&quot;http://forums.mulesoft.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forums.mulesoft.org/&lt;/a&gt;]&amp;quot; streaming=&amp;quot;false&amp;quot;&amp;gt;
&lt;br&gt;bq. bq. &amp;lt;file:expression-filename-parser /&amp;gt;
&lt;br&gt;&lt;br&gt;bq. &amp;lt;/file:connector&amp;gt; \\ &amp;lt;model name=&amp;quot;FileExample&amp;quot;&amp;gt;
&lt;br&gt;bq. bq. &amp;lt;service name=&amp;quot;enno-service&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;bq. bq. bq. &amp;lt;inbound&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;bq. bq. bq. bq. &amp;lt;file:inbound-endpoint path=&amp;quot;inbox&amp;quot; \\ pollingFrequency=&amp;quot;3000&amp;quot; moveToDirectory=&amp;quot;moveto&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;bq. bq. bq. &amp;lt;/inbound&amp;gt; \\ &amp;lt;outbound&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;bq. bq. bq. bq. &amp;lt;pass-through-router&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;bq. bq. bq. bq. bq. &amp;lt;file:outbound-endpoint path=&amp;quot;outbox&amp;quot; connector-ref=&amp;quot;fileOutboundConnector&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;bq. bq. bq. bq. &amp;lt;/pass-through-router&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;bq. bq. bq. &amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/service&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;bq. &amp;lt;/model&amp;gt;
&lt;br&gt;&lt;br&gt;When I run this configuration I notice that mule first creates a directory with the name '#[function:dateStamp-yyyy-MM-dd|&lt;a href=&quot;http://forums.mulesoft.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forums.mulesoft.org/&lt;/a&gt;]'
&lt;br&gt;When I manually copy a file into the 'inbox' directory it is copied by mule to a (again) new created directory with the correct current date (2009-11-22). This is what I excepcted.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;My questions are:
&lt;br&gt;&lt;br&gt;# Why is mule (also) creating the directory with the name '#[function:dateStamp-yyyy-MM-dd|&lt;a href=&quot;http://forums.mulesoft.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forums.mulesoft.org/&lt;/a&gt;]'. This directory stays empty ?
&lt;br&gt;# Why do I need to supply the/a 'path' on the file:outbound-endpoint, as it is not used ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Enno.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/File-transport-writeToDirectory-and-path-questions-tp26883485p26883485.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26881240</id>
	<title>Re: WSDL with CFX over JETTY-SSL substitures the wrong URL for the soap por</title>
	<published>2009-12-21T14:38:29Z</published>
	<updated>2009-12-21T14:38:29Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">Thanks for the info and the suggestion.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/WSDL-with-CFX-over-JETTY-SSL-substitures-the-wrong-URL-for-the-soap-port-tp26880106p26881240.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26880577</id>
	<title>Re: WSDL with CFX over JETTY-SSL substitures the wrong URL for the soap port</title>
	<published>2009-12-21T13:46:43Z</published>
	<updated>2009-12-21T13:46:43Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">See &lt;a href=&quot;http://www.mulesoft.org/jira/browse/MULE-4311&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesoft.org/jira/browse/MULE-4311&lt;/a&gt;&lt;br&gt;&lt;br&gt;Perhaps you can fix this using a transformer.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/WSDL-with-CFX-over-JETTY-SSL-substitures-the-wrong-URL-for-the-soap-port-tp26880106p26880577.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26880106</id>
	<title>WSDL with CFX over JETTY-SSL substitures the wrong URL for the soap port</title>
	<published>2009-12-21T13:10:27Z</published>
	<updated>2009-12-21T13:10:27Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">I have CFX over jetty-ssl to proxy a web service. 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;proxy&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;cxf:inbound-endpoint address=&amp;quot;jetty-ssl://localhost:63081/StringTestService/services/StringServiceImpl&amp;quot; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	proxy=&amp;quot;true&amp;quot; synchronous=&amp;quot;true&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	&amp;lt;chaining-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 	&amp;lt;cxf:outbound-endpoint 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 	address=&amp;quot;&lt;a href=&quot;http://host3145.pharos.intuit.com:8080/StringTestService/services/StringServiceImpl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://host3145.pharos.intuit.com:8080/StringTestService/services/StringServiceImpl&lt;/a&gt;&amp;quot; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 		proxy=&amp;quot;true&amp;quot; synchronous=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/chaining-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/service&amp;gt;
&lt;br&gt;&lt;br&gt;When I retrieve the WSDL by calling &lt;a href=&quot;https://localhost:63081/StringTestService/services/StringServiceImpl?wsdl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://localhost:63081/StringTestService/services/StringServiceImpl?wsdl&lt;/a&gt;&lt;br&gt;the returned bind port is wrong, having jetty-ssl as protocol. 
&lt;br&gt;&lt;br&gt;&amp;lt;wsdl:port binding=&amp;quot;tns:ProxyServiceSoapBinding&amp;quot; name=&amp;quot;ProxyServicePort&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;soap:address location=&amp;quot;jetty-ssl://localhost:63081/StringTestService/services/StringServiceImpl&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/wsdl:port&amp;gt;
&lt;br&gt;&lt;br&gt;Any idea of how to fix this?
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/WSDL-with-CFX-over-JETTY-SSL-substitures-the-wrong-URL-for-the-soap-port-tp26880106p26880106.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26876175</id>
	<title>Re: ActiveMQ JMS to persistent Mule VM queue - possible?</title>
	<published>2009-12-21T08:14:08Z</published>
	<updated>2009-12-21T08:14:08Z</updated>
	<author>
		<name>andy e-2</name>
	</author>
	<content type="html">Haha. Fine, you stink. ;) &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Yes, I can confirm that&amp;#39;s what is in the print version as well.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Seriously, the Mule in Action book has been fantastic and has already helped us on 3 small integration/proof-of-concept projects. So no worries and already looking forward to the next revision that covers Mule 3.x.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Andy&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Dec 17, 2009 at 6:29 PM, John D&amp;#39;Emic &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26876175&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;john.demic@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;br&gt;
Hey Andy,&lt;br&gt;
&lt;br&gt;
Please level all criticism at me - I wrote this chapter :)&lt;br&gt;
&lt;br&gt;
I don&amp;#39;t have the print copy of Mule in Action handy at the moment, but the&lt;br&gt;
PDF shows has the queue-profile defined outside the service on page 81&lt;br&gt;
(right before the closing &amp;lt;/model&amp;gt;)&lt;br&gt;
&lt;br&gt;
Let me know if what you&amp;#39;re seeing is different or if I&amp;#39;m missing something&lt;br&gt;
obvious.&lt;br&gt;
&lt;br&gt;
-jd&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
David Dossot-3 wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; What&amp;#39;s funny is that I was using that placement of the vm:queue-profile -&lt;br&gt;
&amp;gt;&amp;gt; because of you! It&amp;#39;s shown like that on p.80-81 of your book. Maybe a&lt;br&gt;
&amp;gt;&amp;gt; typo?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Ouch. We&amp;#39;ll look into that, sorry.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; D.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/ActiveMQ-JMS-to-persistent-Mule-VM-queue---possible--tp26789398p26837842.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/ActiveMQ-JMS-to-persistent-Mule-VM-queue---possible--tp26789398p26837842.html&lt;/a&gt;&lt;br&gt;

Sent from the Mule - User mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ActiveMQ-JMS-to-persistent-Mule-VM-queue---possible--tp26789398p26876175.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26873844</id>
	<title>Re: Preserve message properties after a response from Multicasting router.</title>
	<published>2009-12-21T05:17:10Z</published>
	<updated>2009-12-21T05:17:10Z</updated>
	<author>
		<name>wb123</name>
	</author>
	<content type="html">The chaining router works just fine for me, I´ve never noticed it dropping previously set message properties. But your implimentation of the Chaining router could push me in the direction of a cleaner solution for my Multicasting Router issue.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;John D'Emic&quot;&gt;&lt;br&gt;I've used the following custom router implementation for this:
&lt;br&gt;&lt;br&gt;public class HeaderPropagatingChainingRouter extends ChainingRouter {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; protected void processIntermediaryResult(MuleMessage localResult, MuleMessage intermediaryResult) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (Object key : intermediaryResult.getPropertyNames()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; localResult.setProperty((String) key, intermediaryResult.getProperty((String) key));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;This propagates the headers from each response to the next endpoint in the chain...
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;-jd
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;wb123 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi.
&lt;br&gt;I´ve got a simple Mule config that goes something like this
&lt;br&gt;Inbound request
&lt;br&gt;Outbound chaining router
&lt;br&gt;first outbound endpoint routes via VM to a multicasting router, synchronous, response transformer merges all the response payloads (String) into a single String.
&lt;br&gt;Second outbound endpoint routes the merged response to a destination.
&lt;br&gt;&lt;br&gt;My &amp;quot;problem&amp;quot; is that going through the multicasting router and getting the response, I lose all the original message properties. I can conserve them by using another response transformer and getting the properties from the DefaultMessageCollection (and I´ve already done this), but I was wondering if there is a another, possibly simpler, way to preserve the message properties of the original inbound request. 
&lt;br&gt;Are there some context properties I can configure? Should I just expand my &amp;quot;responseMessagePropertiesCollector&amp;quot; transformer to loop over the whole DefaultMessageCollection and get all the properties from there?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Preserve-message-properties-after-a-response-from-Multicasting-router.-tp26809274p26873844.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26872405</id>
	<title>Re: Preserve message properties after a response from  Multicasting router.</title>
	<published>2009-12-21T02:56:42Z</published>
	<updated>2009-12-21T02:56:42Z</updated>
	<author>
		<name>John D'Emic</name>
	</author>
	<content type="html">Hey Ross,
&lt;br&gt;&lt;br&gt;Opened here:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.mulesoft.org/jira/browse/MULE-4687&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesoft.org/jira/browse/MULE-4687&lt;/a&gt;&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;-jd
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Ross Mason-5 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi John,
&lt;br&gt;&lt;br&gt;Would you mind opening a Jira for this? we could just a flag to the current
&lt;br&gt;chaining router.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Ross Mason
&lt;br&gt;CTO, Founder
&lt;br&gt;MuleSoft Inc.
&lt;br&gt;&lt;a href=&quot;http://twitter.com/rossmason&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/rossmason&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://mulesoft.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mulesoft.com&lt;/a&gt;&amp;nbsp;| &lt;a href=&quot;http://blog.rossmason.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.rossmason.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Fri, Dec 18, 2009 at 2:38 AM, John D'Emic &amp;lt;john.demic@gmail.com&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've used the following custom router implementation for this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; public class HeaderPropagatingChainingRouter extends ChainingRouter {
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;protected void processIntermediaryResult(MuleMessage localResult,
&lt;br&gt;&amp;gt; MuleMessage intermediaryResult) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (Object key : intermediaryResult.getPropertyNames()) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;localResult.setProperty((String) key,
&lt;br&gt;&amp;gt; intermediaryResult.getProperty((String) key));
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This propagates the headers from each response to the next endpoint in the
&lt;br&gt;&amp;gt; chain...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; HTH
&lt;br&gt;&amp;gt; -jd
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; wb123 wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi.
&lt;br&gt;&amp;gt; &amp;gt; I´ve got a simple Mule config that goes something like this
&lt;br&gt;&amp;gt; &amp;gt; Inbound request
&lt;br&gt;&amp;gt; &amp;gt; Outbound chaining router
&lt;br&gt;&amp;gt; &amp;gt; first outbound endpoint routes via VM to a multicasting router,
&lt;br&gt;&amp;gt; &amp;gt; synchronous, response transformer merges all the response payloads
&lt;br&gt;&amp;gt; &amp;gt; (String) into a single String.
&lt;br&gt;&amp;gt; &amp;gt; Second outbound endpoint routes the merged response to a destination.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; My &amp;quot;problem&amp;quot; is that going through the multicasting router and getting
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt; response, I lose all the original message properties. I can conserve them
&lt;br&gt;&amp;gt; &amp;gt; by using another response transformer and getting the properties from the
&lt;br&gt;&amp;gt; &amp;gt; DefaultMessageCollection (and I´ve already done this), but I was
&lt;br&gt;&amp;gt; wondering
&lt;br&gt;&amp;gt; &amp;gt; if there is a another, possibly simpler, way to preserve the message
&lt;br&gt;&amp;gt; &amp;gt; properties of the original inbound request.
&lt;br&gt;&amp;gt; &amp;gt; Are there some context properties I can configure? Should I just expand
&lt;br&gt;&amp;gt; my
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;responseMessagePropertiesCollector&amp;quot; transformer to loop over the whole
&lt;br&gt;&amp;gt; &amp;gt; DefaultMessageCollection and get all the properties from there?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Preserve-message-properties-after-a-response-from-Multicasting-router.-tp26809274p26837921.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Preserve-message-properties-after-a-response-from-Multicasting-router.-tp26809274p26837921.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Mule - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Preserve-message-properties-after-a-response-from-Multicasting-router.-tp26809274p26872405.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26870501</id>
	<title>Re: Pb JMS Connector (IBM MQ Series) : org.mule.api.MuleRuntimeException: Couldn't submit a work item to the WorkManager</title>
	<published>2009-12-20T22:51:55Z</published>
	<updated>2009-12-20T22:51:55Z</updated>
	<author>
		<name>Richard Swart</name>
	</author>
	<content type="html">A little bit surprising that a jdk upgrade fixes this. This would suggest that there was a bug in the getJMSRedelivered() method. 
&lt;br&gt;&lt;br&gt;Anyway, happy that this works for you.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Pb-JMS-Connector-%28IBM-MQ-Series%29-%3A-org.mule.api.MuleRuntimeException%3A-Couldn%27t-submit-a-work-item-to-the-WorkManager-tp26835742p26870501.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26861899</id>
	<title>Re: Pb JMS Connector (IBM MQ Series) :  org.mule.api.MuleRuntimeException: Couldn't submit a work item to the  WorkManager</title>
	<published>2009-12-20T01:16:44Z</published>
	<updated>2009-12-20T01:16:44Z</updated>
	<author>
		<name>megui75</name>
	</author>
	<content type="html">Hello Andrew,
&lt;br&gt;&lt;br&gt;I dont use wmq transport because we chose in this time the community edition.
&lt;br&gt;In short, the configuration used is the classic JMS configuration follows:
&lt;br&gt;&lt;br&gt;&amp;lt;spring:bean name=&amp;quot;mqConnectionFactory&amp;quot; class=&amp;quot;com.ibm.mq.jms.MQQueueConnectionFactory&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring:property name=&amp;quot;hostName&amp;quot; value=&amp;quot;PCXYZ&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring:property name=&amp;quot;port&amp;quot; value=&amp;quot;1415&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring:property name=&amp;quot;queueManager&amp;quot; value=&amp;quot;KMI007&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring:property name=&amp;quot;channel&amp;quot; value=&amp;quot;C_mule&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring:property name=&amp;quot;transportType&amp;quot; value=&amp;quot;1&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/spring:bean&amp;gt;
&lt;br&gt;&lt;br&gt;AND IN MODEL/SERVICE 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jms:inbound-endpoint queue=&amp;quot;DEV.FOR.HERMES&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; connector-ref=&amp;quot;hermesQueueConnector&amp;quot; synchronous=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jms:object-to-jmsmessage-transformer 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name=&amp;quot;JMSMessageToObject&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;transformer ref=&amp;quot;NettoyeurDeMessageProperties&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;transformer ref=&amp;quot;JmsHermesTransformer&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/jms:inbound-endpoint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inbound&amp;gt;
&lt;br&gt;&lt;br&gt;Regards.
&lt;br&gt;Karim</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Pb-JMS-Connector-%28IBM-MQ-Series%29-%3A-org.mule.api.MuleRuntimeException%3A-Couldn%27t-submit-a-work-item-to-the-WorkManager-tp26835742p26861899.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26858639</id>
	<title>Re: JMS retries and errors help with requirements</title>
	<published>2009-12-19T13:17:55Z</published>
	<updated>2009-12-19T13:17:55Z</updated>
	<author>
		<name>Andrew Perepelytsya</name>
	</author>
	<content type="html">&lt;p&gt;Actually this is best achievable by configuring maxRedelivery attr on the jms connector, using exception strategy and running on Mule 2.2.x/3.x Given that you reference UMOs, it might be a very old Mule release.&lt;/p&gt;
&lt;p&gt;HTH,&lt;br&gt;
Andrew&lt;/p&gt;
&lt;p&gt;&lt;blockquote type=&quot;cite&quot;&gt;On Dec 19, 2009 2:58 PM, &amp;quot;dhenton9000&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26858639&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhenton@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;br&gt;&lt;br&gt;
I&amp;#39;ve got a very dumb question. I have a jms queue that I place under&lt;br&gt;
transactions:&lt;br&gt;
&lt;br&gt;
Read jmsQueue --&amp;gt; UMOA --&amp;gt; UMOB&lt;br&gt;
&lt;br&gt;
UmoA and UmoB are mule code, and I have this all under a transaction so that&lt;br&gt;
if UmoB fails the message is returned to the jmsQueue. If B fails&lt;br&gt;
persistantly because of some obnoxious property of the message that it is&lt;br&gt;
processing, I&amp;#39;d like to use retry policies/transactions (hopefully with no&lt;br&gt;
custom code) that would result in X number of retries, then shunting the&lt;br&gt;
offensive message to an error queue.&lt;br&gt;
&lt;br&gt;
I think I&amp;#39;m misunderstanding transactions. If message X fails consistently,&lt;br&gt;
the transaction will always place it back on the queue, which means that&lt;br&gt;
I&amp;#39;ll get a flood of error messages and a loop.&lt;br&gt;
&lt;br&gt;
Is there a way to combine transactions, and retry policies to reprocess a&lt;br&gt;
message X times and then shunt it to an error queue?&lt;br&gt;
&lt;br&gt;
Custom code is always an option, but I&amp;#39;d like to see if I could do it out of&lt;br&gt;
the box.&lt;br&gt;
&lt;br&gt;
Thanks!&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/JMS-retries-and-errors-help-with-requirements-tp26858055p26858055.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/JMS-retries-and-errors-help-with-requirements-tp26858055p26858055.html&lt;/a&gt;&lt;br&gt;

Sent from the Mule - User mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/p&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JMS-retries-and-errors-help-with-requirements-tp26858055p26858639.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26858055</id>
	<title>JMS retries and errors help with requirements</title>
	<published>2009-12-19T11:58:27Z</published>
	<updated>2009-12-19T11:58:27Z</updated>
	<author>
		<name>dhenton9000</name>
	</author>
	<content type="html">I've got a very dumb question. I have a jms queue that I place under transactions:
&lt;br&gt;&lt;br&gt;Read jmsQueue --&amp;gt; UMOA --&amp;gt; UMOB
&lt;br&gt;&lt;br&gt;UmoA and UmoB are mule code, and I have this all under a transaction so that if UmoB fails the message is returned to the jmsQueue. If B fails persistantly because of some obnoxious property of the message that it is processing, I'd like to use retry policies/transactions (hopefully with no custom code) that would result in X number of retries, then shunting the offensive message to an error queue.
&lt;br&gt;&lt;br&gt;I think I'm misunderstanding transactions. If message X fails consistently, the transaction will always place it back on the queue, which means that I'll get a flood of error messages and a loop. 
&lt;br&gt;&lt;br&gt;Is there a way to combine transactions, and retry policies to reprocess a message X times and then shunt it to an error queue?
&lt;br&gt;&lt;br&gt;Custom code is always an option, but I'd like to see if I could do it out of the box.
&lt;br&gt;&lt;br&gt;Thanks!</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JMS-retries-and-errors-help-with-requirements-tp26858055p26858055.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26849843</id>
	<title>Re: Preserve message properties after a response from  Multicasting router.</title>
	<published>2009-12-18T13:16:48Z</published>
	<updated>2009-12-18T13:16:48Z</updated>
	<author>
		<name>Ross Mason-5</name>
	</author>
	<content type="html">Hi John,&lt;br&gt;&lt;br&gt;Would you mind opening a Jira for this? we could just a flag to the current chaining router.&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;Cheers,&lt;br&gt;&lt;br&gt;Ross Mason&lt;br&gt;CTO, Founder&lt;br&gt;MuleSoft Inc.&lt;br&gt;&lt;a href=&quot;http://twitter.com/rossmason&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/rossmason&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;a href=&quot;http://mulesoft.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mulesoft.com&lt;/a&gt; | &lt;a href=&quot;http://blog.rossmason.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.rossmason.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Dec 18, 2009 at 2:38 AM, John D&amp;#39;Emic &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26849843&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;john.demic@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
I&amp;#39;ve used the following custom router implementation for this:&lt;br&gt;
&lt;br&gt;
public class HeaderPropagatingChainingRouter extends ChainingRouter {&lt;br&gt;
&lt;br&gt;
    protected void processIntermediaryResult(MuleMessage localResult,&lt;br&gt;
MuleMessage intermediaryResult) {&lt;br&gt;
        for (Object key : intermediaryResult.getPropertyNames()) {&lt;br&gt;
            localResult.setProperty((String) key,&lt;br&gt;
intermediaryResult.getProperty((String) key));&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
    }&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
This propagates the headers from each response to the next endpoint in the&lt;br&gt;
chain...&lt;br&gt;
&lt;br&gt;
HTH&lt;br&gt;
-jd&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;br&gt;
wb123 wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi.&lt;br&gt;
&amp;gt; I´ve got a simple Mule config that goes something like this&lt;br&gt;
&amp;gt; Inbound request&lt;br&gt;
&amp;gt; Outbound chaining router&lt;br&gt;
&amp;gt; first outbound endpoint routes via VM to a multicasting router,&lt;br&gt;
&amp;gt; synchronous, response transformer merges all the response payloads&lt;br&gt;
&amp;gt; (String) into a single String.&lt;br&gt;
&amp;gt; Second outbound endpoint routes the merged response to a destination.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; My &amp;quot;problem&amp;quot; is that going through the multicasting router and getting the&lt;br&gt;
&amp;gt; response, I lose all the original message properties. I can conserve them&lt;br&gt;
&amp;gt; by using another response transformer and getting the properties from the&lt;br&gt;
&amp;gt; DefaultMessageCollection (and I´ve already done this), but I was wondering&lt;br&gt;
&amp;gt; if there is a another, possibly simpler, way to preserve the message&lt;br&gt;
&amp;gt; properties of the original inbound request.&lt;br&gt;
&amp;gt; Are there some context properties I can configure? Should I just expand my&lt;br&gt;
&amp;gt; &amp;quot;responseMessagePropertiesCollector&amp;quot; transformer to loop over the whole&lt;br&gt;
&amp;gt; DefaultMessageCollection and get all the properties from there?&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;/div&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/Preserve-message-properties-after-a-response-from-Multicasting-router.-tp26809274p26837921.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Preserve-message-properties-after-a-response-from-Multicasting-router.-tp26809274p26837921.html&lt;/a&gt;&lt;br&gt;

&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Sent from the Mule - User mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Preserve-message-properties-after-a-response-from-Multicasting-router.-tp26809274p26849843.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26847237</id>
	<title>Re: JBoss versions JMS</title>
	<published>2009-12-18T09:58:19Z</published>
	<updated>2009-12-18T09:58:19Z</updated>
	<author>
		<name>David Dossot-3</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;I need to pick up a JMS message from a JBoss 4.2.1 server and forward it to a&lt;br&gt;
JMS queue on a JBoss 5.1 server.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I was about to suggest using Stomp against JBoss 5.1 when I read &lt;a href=&quot;http://www.mail-archive.com/dev@activemq.apache.org/msg10581.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt;.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Unless you can resolve the classpath hell, an option is to have two Mule instances, one embedding an ActiveMQ broker, exposed over TCP so the other Mule instance can access it.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;

Then establish this chain: JBoss 4.2.1 -(Mule XA bridge)-&amp;gt; ActiveMQ -(Mule XA bridge)-&amp;gt; Jboss 5.1&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;
D.&lt;/div&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JBoss-versions-JMS-tp26843875p26847237.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26844419</id>
	<title>Re: Pb JMS Connector (IBM MQ Series) :  org.mule.api.MuleRuntimeException: Couldn't submit a work item to the  WorkManager</title>
	<published>2009-12-18T06:40:14Z</published>
	<updated>2009-12-18T06:40:14Z</updated>
	<author>
		<name>Andrew Perepelytsya</name>
	</author>
	<content type="html">&lt;p&gt;Mule does not set those properties, it just copies them over from existing message. Hard to advise exactly without full config and understanding your flow. Also, I don&amp;#39;t remember seeing anything like that in our WMQ transport tests (both with mq 6 and 7). But my understanding is you&amp;#39;re not using wmq transport.&lt;/p&gt;

&lt;p&gt;Andrew&lt;/p&gt;
&lt;p&gt;&lt;blockquote type=&quot;cite&quot;&gt;On Dec 18, 2009 8:17 AM, &amp;quot;megui75&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26844419&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;megzarikarim@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;br&gt;&lt;br&gt;
Initially, I introduced the latest version of jdk 1.6_017 and now it works&lt;br&gt;
but with errors (not important for the proper functioning of the service).&lt;br&gt;
&lt;br&gt;
-----DEBUG ObjectToJMSMessage : Unable to set property &amp;#39;JMSXAppID&amp;#39; of type&lt;br&gt;
String&amp;#39;: MQJMS1058: Invalid message property name: JMSXAppID&lt;br&gt;
-----DEBUG ObjectToJMSMessage : Unable to set property &amp;#39;JMSXDeliveryCount&amp;#39;&lt;br&gt;
of type Integer&amp;#39;: MQJMS1058: Invalid message property name:&lt;br&gt;
JMSXDeliveryCount&lt;br&gt;
-----DEBUG ObjectToJMSMessage : Unable to set property &amp;#39;JMSXUserID&amp;#39; of type&lt;br&gt;
String&amp;#39;: MQJMS1058: Invalid message property name: JMSXUserID&lt;br&gt;
----DEBUG ObjectToJMSMessage : Resulting object is JMSBytesMessage&lt;br&gt;
---- DEBUG ObjectToJMSMessage : Object after transform:&lt;br&gt;
JMS Message class: jms_bytes&lt;br&gt;
&lt;p&gt;&lt;font color=&quot;#500050&quot;&gt;  JMSType:         null
  JMSDeliveryMode: 2
  JMSExpiration:   0
  JMSPriority:     0
&lt;/font&gt;&lt;/p&gt;  JMSMessageID:    ID:414d512043323032202020202020202049f489c4215a9402&lt;br&gt;
  JMSTimesta...&lt;br&gt;
-----DEBUG ObjectToJMSMessage : The transformed object is of expected type.&lt;br&gt;
Type is: JMSBytesMessage&lt;br&gt;
-----INFO  JmsHermesTransformer : Transformation processing ...&lt;br&gt;
&lt;p&gt;&lt;font color=&quot;#500050&quot;&gt;message avec HT envoyé à Hermes .......................................
&lt;/font&gt;&lt;/p&gt;026204                DT-280792650                      ZPPLAN888DUP11200908&lt;br&gt;
&lt;p&gt;&lt;font color=&quot;#500050&quot;&gt;FR  FR19990808KMI                   KMIKMI                                                          ...&lt;/font&gt;&lt;/p&gt;------ INFO  JmsHermesTransformer : insert service processing ...&lt;br&gt;
------ INFO  JmsHermesTransformer : insert service processing terminé avec&lt;br&gt;
succès ...&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
In a 2nd time, I used your recommendation&lt;br&gt;
        &amp;lt;message-properties-transformer name=&amp;quot;NettoyeurDeMessageProperties&amp;quot;&amp;gt;&lt;br&gt;
                &amp;lt;delete-message-property key=&amp;quot;JMSXAppID&amp;quot; /&amp;gt;&lt;br&gt;
                &amp;lt;delete-message-property key=&amp;quot;JMSXDeliveryCount&amp;quot; /&amp;gt;&lt;br&gt;
                &amp;lt;delete-message-property key=&amp;quot;JMSXUserID&amp;quot; /&amp;gt;&lt;br&gt;
        &amp;lt;/message-properties-transformer&amp;gt;&lt;br&gt;
&lt;br&gt;
and finally, I managed to delete the errors JMS &amp;quot;warning&amp;quot; from the log file.&lt;br&gt;
&lt;br&gt;
Thank you very mutch.&lt;br&gt;
Karim MEGZARI&lt;br&gt;
&lt;br&gt;
you work at mulesoft ?&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/Pb-JMS-Connector-%28IBM-MQ-Series%29-%3A-org.mule.api.MuleRuntimeException%3A-Couldn%27t-submit-a-work-item-to-the-WorkManager-tp26835742p26843204.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Pb-JMS-Connector-%28IBM-MQ-Series%29-%3A-org.mule.api.MuleRuntimeException%3A-Couldn%27t-submit-a-work-item-to-the-WorkManager-tp26835742p26843204.html&lt;/a&gt;&lt;br&gt;

&lt;/font&gt;&lt;p&gt;&lt;font color=&quot;#500050&quot;&gt;Sent from the Mule - User mailing list archive at Nabble.com.


------------------------------------...&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#500050&quot;&gt;To unsubscribe from this list, please visit:

    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Pb-JMS-Connector-%28IBM-MQ-Series%29-%3A-org.mule.api.MuleRuntimeException%3A-Couldn%27t-submit-a-work-item-to-the-WorkManager-tp26835742p26844419.html" />
</entry>

</feed>
