You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Tropi Geek <tr...@gmail.com> on 2008/02/29 23:27:15 UTC

Exception Listener in servicemix

Guys, things seem to be working very well with servicemix but one of the
challenges I am facing is to track errors happening at component level.

Is there a generic listener that I can use/implement to listen to all
exceptions and then send it to a common exception queue component. I need to
report issues back to the requesting application. I can do that with most
bean/pojo components in a  try/catch block but not with any components.

Seems like a generic problem but I dont seem to be getting the right pointer
for this. Kindly help.

-- tg

Re: Exception Listener in servicemix

Posted by Bruce Snyder <br...@gmail.com>.
On Sat, Mar 1, 2008 at 12:51 PM, Guillaume Nodet <gn...@gmail.com> wrote:
> Maybe we should put this example on a wiki page ?

Yeah I was thinking that as well. Let me enhance it a bit and I'll
commit it and document it on the wiki.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: Exception Listener in servicemix

Posted by Guillaume Nodet <gn...@gmail.com>.
Maybe we should put this example on a wiki page ?

On Sat, Mar 1, 2008 at 4:55 PM, Bruce Snyder <br...@gmail.com> wrote:
>
> On Fri, Feb 29, 2008 at 3:27 PM, Tropi Geek <tr...@gmail.com> wrote:
>  > Guys, things seem to be working very well with servicemix but one of the
>  >  challenges I am facing is to track errors happening at component level.
>  >
>  >  Is there a generic listener that I can use/implement to listen to all
>  >  exceptions and then send it to a common exception queue component. I need to
>  >  report issues back to the requesting application. I can do that with most
>  >  bean/pojo components in a  try/catch block but not with any components.
>  >
>  >  Seems like a generic problem but I dont seem to be getting the right pointer
>  >  for this. Kindly help.
>
>  Well, you could create an ExchangeListener to capture every message
>  exchange flowing through the NMR. This gives you the ability to
>  manipulate the message exchanges however you like including checking
>  for errors on the exchange. Below is an example of something I wrote
>  to enhance the error messages on an exchange:
>
>  package org.apache.servicemix.jbi.exceptions;
>
>  import javax.jbi.messaging.MessageExchange;
>
>  import org.apache.servicemix.jbi.event.ExchangeEvent;
>  import org.apache.servicemix.jbi.event.ExchangeListener;
>
>  /**
>   * An {@link org.apache.servicemix.jbi.event.ExchangeListener} implementation
>   * to handle exception customization.
>   *
>   * @org.apache.xbean.XBean element="exceptionListenerService"
>   * @version $Revision$
>   * @author bsnyder
>   */
>  public class ExceptionListenerService implements ExchangeListener {
>
>     public void exchangeAccepted(ExchangeEvent event) {
>         // TODO Auto-generated method stub
>
>     }
>
>     public void exchangeSent(ExchangeEvent event) {
>         MessageExchange me = event.getExchange();
>         Exception exception = null;
>
>         if (me.getError() != null) {
>             exception = analyzeException(me);
>         }
>
>         me.setError(exception);
>     }
>
>     /**
>      * This method abstracts any special exception handling behavior.
>      *
>      * @TODO Abstract this further using pluggable strategies to hold the
>      * custom functionality. Then we just stuff the strategies that are
>      * named in the servicemix.xml config into an array and just walk the
>      * array, invoking the execute method on each strategy.
>      *
>      * @param error The exception that was thrown
>      * @param endpointName The name of the endpoint that threw the exception
>      * @return
>      */
>     private Exception analyzeException(MessageExchange me) {
>         Exception error = me.getError();
>         String serviceName = me.getEndpoint().getServiceName().toString();
>         String endpointName = me.getEndpoint().getEndpointName();
>         String errorMessage = error.getMessage();
>
>         // Add calls to custom processing here
>
>         StringBuilder newErrorMessage =
>             new StringBuilder("The following error was caused by service: [");
>         newErrorMessage.append(serviceName != null ? serviceName : "null");
>         newErrorMessage.append("] and endpoint: [");
>         newErrorMessage.append(endpointName != null ? endpointName : "null");
>         newErrorMessage.append("] ");
>         newErrorMessage.append("Original error: ");
>         newErrorMessage.append(errorMessage);
>
>         return new Exception(newErrorMessage.toString(), error);
>     }
>
>  }
>
>  To use this with ServiceMIx, you simply register it as a service in
>  the servicemix.xml file using the XBean element in the class level
>  XBean annotation (exceptionListenerService).
>
>  Bruce
>  --
>  perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
>  );'
>
>  Apache ActiveMQ - http://activemq.org/
>  Apache Camel - http://activemq.org/camel/
>  Apache ServiceMix - http://servicemix.org/
>  Apache Geronimo - http://geronimo.apache.org/
>
>  Blog: http://bruceblog.org/
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Re: Exception Listener in servicemix

Posted by Guillaume Nodet <gn...@gmail.com>.
What is the relationship between your camel route and the exception listener ?
If the example does not work anymore, this certainly means that the
listener does
something not compliant.  FYI, listeners can read or modify the
exchange, but can not
route it somewhere else, though it should be possible to do that by
sending a new
exchange to another component.

On Thu, May 22, 2008 at 7:27 AM, pratibhaG <pr...@in2m.com> wrote:
>
> I included the listener like this
> <sm:services>
>      <sm:statistics statsInterval="10" dumpStats="true" />
> </sm:services>
> <sm:listeners>
>        <bean id="errorBean" class="errorhandling.ExceptionListenerService"
> />
> </sm:listeners>
>
> and I tried this example:
> example: take a message from queue tutorial.camel.queue13 and pass it to a
> bean. The bean sets the message status to error. As the status is error the
> message is put in queue tutorial.camel.queue1
> here are some of the files of the example:
> jms-su xbean.xml
> <beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
>       xmlns:esb="http://esbinaction.com/errorhandling">
>
>  <jms:endpoint service="esb:errorHandlerDSL"
>       endpoint="errorEndpoint"
>       role="consumer"
>       destinationStyle="queue"
>       jmsProviderDestinationName="tutorial.camel.queue13"
>       defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
>       connectionFactory="#connectionFactory"/>
>
>  <jms:endpoint service="esb:errorStorageService"
>       endpoint="errorStorageEndpoint"
>       role="provider"
>       destinationStyle="queue"
>       jmsProviderDestinationName="tutorial.camel.queue1"
>       defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
>       connectionFactory="#connectionFactory"/>
>
>  <bean id="connectionFactory"
> class="org.apache.activemq.ActiveMQConnectionFactory">
>    <property name="brokerURL" value="tcp://localhost:61616" />
>  </bean>
>
> </beans>
>
> camel route builder java file
> package errorhandling.camel;
>
> import org.apache.camel.builder.RouteBuilder;
>
> public class CamelErrorHandler extends RouteBuilder {
>
>        private final static String NAMESPACE =
> "http://esbinaction.com/errorhandling";
>        private final static String SERVICE_IN = "jbi:service:" +
>                NAMESPACE + "/errorHandlerDSL";
>        private final static String BEAN_IN = "jbi:service:" +
>                NAMESPACE + "/errorComponent";
>        private final static String ERROR_IN = "jbi:service:" +
>                NAMESPACE + "/errorStorageService";
>
>        public void configure() {
>
> /*errorHandler(deadLetterChannel(ERROR_IN).maximumRedeliveries(2));
>           from(SERVICE_IN).to(BEAN_IN);*/
>
> from(SERVICE_IN).errorHandler(deadLetterChannel(ERROR_IN).maximumRedeliveries(1)).to(BEAN_IN);
>            //from(SERVICE_IN).errorHandler(noErrorHandler).to(BEAN_IN);
>        }
> }
>
>
> Now if I don't put
> <sm:listeners>
>        <bean id="errorBean" class="errorhandling.ExceptionListenerService"
> />
> </sm:listeners>
>
> in conf/servicemix.xml then the example works fine. That is the message is
> consumed from tutorial.camel.queue13 and is routed to tutorial.camel.queue1
> as i am setting message status to error in my bean.
>
> But if I put
> <sm:listeners>
>        <bean id="errorBean" class="errorhandling.ExceptionListenerService"
> />
> </sm:listeners>
>
> in conf/servicemix.xml then the example does not work as expected.  That is
> the message is consumed from tutorial.camel.queue13 but not routed to
> tutorial.camel.queue1 even when  i am setting message status to error in my
> bean.
>
> Is it the same way the listener is supposed to behave or am I missing
> something.
>
> Another thing is that I never saw the message "The following error was
> caused by service"  which is created in my listener. Where this message will
> be shown?
>
> -Pratibha
>
>
>
> --
> View this message in context: http://www.nabble.com/Exception-Listener-in-servicemix-tp15769242p17397607.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Re: Exception Listener in servicemix

Posted by Gert Vanthienen <ge...@skynet.be>.
Pratibha,

You should configure only one log level in the log4j.xml file -- it's 
used as the lower message severity threshold, so if you only put DEBUG 
every message with a severity of DEBUG or higher will be output.

Gert

pratibhaG wrote:
> This is my Listener:
> package errorhandling;
>
> import javax.jbi.messaging.MessageExchange;
>
> import org.apache.servicemix.jbi.event.ExchangeEvent;
> import org.apache.servicemix.jbi.event.ExchangeListener;
>
> public class ExceptionListenerService implements ExchangeListener {
>
>     public void exchangeAccepted(ExchangeEvent event) {
>      }
>
>     public void exchangeSent(ExchangeEvent event) {
>         MessageExchange me = event.getExchange();
>         logger.debug("in listener message is  " + me);
>     }
> }
>
> package is errorhandling
>
> I have put this entry in conf/log4j.xml.
>         <logger name="errorhandling">
> 	 <level value="DEBUG"/>
> 	</logger>
> 	<logger name="errorhandling">
> 	 <level value="ERROR"/>
> 	</logger>
> 	<logger name="errorhandling">
> 	 <level value="WARN"/>
> 	</logger>
>
> just for simplicity, I removed the the camel error handler as well as the
> bean which was setting message status to ERROR.
>
> So now the flow is very simple, that is every 10 seconds put a message in
> different queues as I said in previous message.
>
> Pratibha
>   


Re: Exception Listener in servicemix

Posted by pratibhaG <pr...@in2m.com>.
It was my mistake. serviceMix was referring to the earlier message. Now I
have changed it.
finally I am able to listen to all the messages on NMR.

Now suppose:
1)my app1 made a request for app2
2)My ExceptionListener listens to all the messages.
3)app2 returns with reponse.
4)My ExceptionListener will forward the request+response message to an
endpoint say endpoint1111

Does the listener provides any feature to route the message to a said
endpoint?
If it provides do you have any example?
 if it does not provide then what is the other way to do it?

-pratibha


-- 
View this message in context: http://www.nabble.com/Exception-Listener-in-servicemix-tp15769242p17471992.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exception Listener in servicemix

Posted by Gert Vanthienen <ge...@skynet.be>.
Prathiba,

Are you sure you are using your new Listener and not a previous one you 
posted?  Does the new listener even compile (e.g. you use a logger 
variable, but I never see it getting declared?

Gert

pratibhaG wrote:
> Here are the logs:
> When I have listener configured:
>
> INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive
> changed: processing tutorial-camel-sa-1.0-SNAPSHOT.zip ...
> DEBUG - AutoDeploymentService          - Unpacked archive
> /home/pghogale/apache-servicemix-3.2.1/hotdeploy/tutorial-camel-sa-1.0-SNAPSHOT.zip
> to
> /home/pghogale/apache-servicemix-3.2.1/data/smx/tmp/tutorial-camel-sa-1.0-SNAPSHOT.0.tmp
> DEBUG - AutoDeploymentService          - SA dependencies: [servicemix-http,
> servicemix-jms, servicemix-camel]
> DEBUG - DeploymentService              - Moving
> /home/pghogale/apache-servicemix-3.2.1/data/smx/tmp/tutorial-camel-sa-1.0-SNAPSHOT.0.tmp
> to
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install
> DEBUG - DeploymentService              - Unpack service unit archive
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install/tutorial-camel-su-1.0-SNAPSHOT.zip
> to
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su
> DEBUG - CamelJbiComponent              - Deploying service unit
> DEBUG - CamelJbiComponent              - Looking for
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml:
> true
> INFO  - GenericApplicationContext      - Refreshing
> org.springframework.context.support.GenericApplicationContext@30d5d0:
> display name
> [org.springframework.context.support.GenericApplicationContext@30d5d0];
> startup date [Mon May 26 12:08:41 IST 2008]; root of context hierarchy
> INFO  - GenericApplicationContext      - Bean factory for application
> context
> [org.springframework.context.support.GenericApplicationContext@30d5d0]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory@2577eb
> DEBUG - GenericApplicationContext      - 0 beans defined in
> org.springframework.context.support.GenericApplicationContext@30d5d0:
> display name
> [org.springframework.context.support.GenericApplicationContext@30d5d0];
> startup date [Mon May 26 12:08:41 IST 2008]; root of context hierarchy
> DEBUG - GenericApplicationContext      - Unable to locate MessageSource with
> name 'messageSource': using default
> [org.springframework.context.support.DelegatingMessageSource@1602a95]
> DEBUG - GenericApplicationContext      - Unable to locate
> ApplicationEventMulticaster with name 'applicationEventMulticaster': using
> default
> [org.springframework.context.event.SimpleApplicationEventMulticaster@8bb272]
> INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@2577eb:
> defining beans []; root of factory hierarchy
> DEBUG - GenericApplicationContext      - Publishing event in context
> [org.springframework.context.support.GenericApplicationContext@30d5d0]:
> org.springframework.context.event.ContextRefreshedEvent[source=org.springframework.context.support.GenericApplicationContext@30d5d0:
> display name
> [org.springframework.context.support.GenericApplicationContext@30d5d0];
> startup date [Mon May 26 12:08:41 IST 2008]; root of context hierarchy]
> INFO  - FileSystemXmlApplicationContext - Refreshing
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658:
> display name [camel-context]; startup date [Mon May 26 12:08:41 IST 2008];
> parent: org.springframework.context.support.GenericApplicationContext@30d5d0
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> INFO  - XBeanXmlBeanDefinitionReader   - Loading XML bean definitions from
> file
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml]
> DEBUG - DefaultDocumentLoader          - Using JAXP provider
> [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
> DEBUG - XBeanNamespaceHandlerResolver  - Loaded mappings
> [{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler,
> http://activemq.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
> http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
> http://activemq.apache.org/camel/schema/spring=org.apache.camel.spring.handler.CamelNamespaceHandler,
> http://servicemix.apache.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://xbean.apache.org/schemas/server=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler,
> http://servicemix.apache.org/audit/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://servicemix.apache.org/soap/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
> http://xbean.apache.org/schemas/classloader=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://jencks.org/2.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://activemq.org/ra/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler}]
> DEBUG - XBeanBeanDefinitionDocumentReader - Loading bean definitions
> DEBUG - XBeanXmlBeanDefinitionReader   - Loaded 2 bean definitions from
> location pattern
> [//home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml]
> INFO  - FileSystemXmlApplicationContext - Bean factory for application
> context
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory@1f54a25
> DEBUG - FileSystemXmlApplicationContext - 2 beans defined in
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658:
> display name [camel-context]; startup date [Mon May 26 12:08:41 IST 2008];
> parent: org.springframework.context.support.GenericApplicationContext@30d5d0
> DEBUG - DefaultListableBeanFactory     - Creating shared instance of
> singleton bean 'camel:beanPostProcessor'
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'camel:beanPostProcessor' with merged definition [Root bean: class
> [org.apache.camel.spring.CamelBeanPostProcessor]; scope=singleton;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.camel.spring.CamelBeanPostProcessor] because it is not
> cache-safe
> DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
> 'camel:beanPostProcessor' to allow for resolving potential circular
> references
> DEBUG - DefaultListableBeanFactory     - Creating shared instance of
> singleton bean 'camel'
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean 'camel'
> with merged definition [Root bean: class
> [org.apache.camel.spring.CamelContextFactoryBean]; scope=singleton;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.camel.spring.CamelContextFactoryBean] because it is not
> cache-safe
> DEBUG - DefaultListableBeanFactory     - Eagerly caching bean 'camel' to
> allow for resolving potential circular references
> DEBUG - CamelContextFactoryBean        - Found JAXB created routes: []
> DEBUG - ResolverUtil                   - Searching for implementations of
> org.apache.camel.builder.RouteBuilder in packages:
> [org.apache.servicemix.tutorial.camel]
> DEBUG - ResolverUtil                   - Scanning for classes in
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/org/apache/servicemix/tutorial/camel/]
> matching criteria: is assignable to RouteBuilder
> DEBUG - ResolverUtil                   - Found: [class
> org.apache.servicemix.tutorial.camel.MyRouteBuilder]
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.servicemix.tutorial.camel.MyRouteBuilder' with merged definition
> [Root bean: class [org.apache.servicemix.tutorial.camel.MyRouteBuilder];
> scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
> autowireMode=3; dependencyCheck=0; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.servicemix.tutorial.camel.MyRouteBuilder] because it is not
> cache-safe
> INFO  - FileSystemXmlApplicationContext - Bean
> 'org.apache.servicemix.tutorial.camel.MyRouteBuilder' is not eligible for
> getting processed by all BeanPostProcessors (for example: not eligible for
> auto-proxying)
> DEBUG - DefaultCamelContext            - Adding routes from: Routes: [Route[
> [From[timer://tutorial?fixedRate=true&period=100000]] -> [Processor[ref: 
> null],
> To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1],
> To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2],
> Choice[ [When[ Expression[null] ->
> [To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3]]]]
> null]]], Route[
> [From[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer]]
> -> [To[log:tutorial-jbi], Processor[ref:  null], To[log:tutorial-string]]]]
> routes: []
> INFO  - FileSystemXmlApplicationContext - Bean 'camel' is not eligible for
> getting processed by all BeanPostProcessors (for example: not eligible for
> auto-proxying)
> INFO  - FileSystemXmlApplicationContext - Bean 'camel' is not eligible for
> getting processed by all BeanPostProcessors (for example: not eligible for
> auto-proxying)
> INFO  - FileSystemXmlApplicationContext - Bean 'camel:beanPostProcessor' is
> not eligible for getting processed by all BeanPostProcessors (for example:
> not eligible for auto-proxying)
> DEBUG - FileSystemXmlApplicationContext - Unable to locate MessageSource
> with name 'messageSource': using default
> [org.springframework.context.support.DelegatingMessageSource@1e07a86]
> DEBUG - FileSystemXmlApplicationContext - Unable to locate
> ApplicationEventMulticaster with name 'applicationEventMulticaster': using
> default
> [org.springframework.context.event.SimpleApplicationEventMulticaster@8bf66d]
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'camel'
> INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@1f54a25:
> defining beans [camel:beanPostProcessor,camel]; parent:
> org.springframework.beans.factory.support.DefaultListableBeanFactory@2577eb
> DEBUG - FileSystemXmlApplicationContext - Publishing event in context
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658]:
> org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658:
> display name [camel-context]; startup date [Mon May 26 12:08:41 IST 2008];
> parent:
> org.springframework.context.support.GenericApplicationContext@30d5d0]
> DEBUG - SpringCamelContext             - Publishing event:
> org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658:
> display name [camel-context]; startup date [Mon May 26 12:08:41 IST 2008];
> parent:
> org.springframework.context.support.GenericApplicationContext@30d5d0]
> DEBUG - SpringCamelContext             - Starting the CamelContext now that
> the ApplicationContext has started
> DEBUG - DefaultComponentResolver       - Found component: timer via type:
> org.apache.camel.component.timer.TimerComponent via
> META-INF/services/org/apache/camel/component/timer
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.camel.component.timer.TimerComponent' with merged definition
> [Root bean: class [org.apache.camel.component.timer.TimerComponent];
> scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
> autowireMode=3; dependencyCheck=0; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.camel.component.timer.TimerComponent] because it is not
> cache-safe
> DEBUG - ResolverUtil                   - Scanning for classes in
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/lib/camel-mail-1.2.0.jar]
> matching criteria: annotated with @Converter
> DEBUG - ResolverUtil                   - Scanning for classes in
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/components/servicemix-camel/version_1/lib/camel-core-1.2.0.jar]
> matching criteria: annotated with @Converter
> DEBUG - ResolverUtil                   - Scanning for classes in
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/lib/camel-core-1.2.0.jar]
> matching criteria: annotated with @Converter
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.converter.CollectionConverter
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.converter.jaxp.XmlConverter
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.converter.IOConverter
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.converter.NIOConverter
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.converter.ObjectConverter
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.component.mail.MailConverters
> DEBUG - DefaultCamelContext            -
> timer://tutorial?fixedRate=true&period=100000 converted to endpoint:
> Endpoint[timer://tutorial?fixedRate=true&period=100000] by component:
> org.apache.camel.component.timer.TimerComponent@16ea7b8
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'jbi'
> DEBUG - DefaultComponentResolver       - Found component: jbi in registry:
> org.apache.servicemix.camel.CamelJbiComponent@ca4aae
> DEBUG - DefaultCamelContext            -
> jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1
> converted to endpoint:
> Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1]
> by component: org.apache.servicemix.camel.CamelJbiComponent@ca4aae
> DEBUG - DefaultCamelContext            -
> jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2
> converted to endpoint:
> Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2]
> by component: org.apache.servicemix.camel.CamelJbiComponent@ca4aae
> DEBUG - DefaultCamelContext            -
> jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3
> converted to endpoint:
> Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3]
> by component: org.apache.servicemix.camel.CamelJbiComponent@ca4aae
> DEBUG - DefaultCamelContext            -
> jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer
> converted to endpoint:
> Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer] by
> component: org.apache.servicemix.camel.CamelJbiComponent@ca4aae
> DEBUG - DefaultComponentResolver       - Found component: log via type:
> org.apache.camel.component.log.LogComponent via
> META-INF/services/org/apache/camel/component/log
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.camel.component.log.LogComponent' with merged definition [Root
> bean: class [org.apache.camel.component.log.LogComponent]; scope=prototype;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=3;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.camel.component.log.LogComponent] because it is not cache-safe
> DEBUG - DefaultCamelContext            - log:tutorial-jbi converted to
> endpoint: Endpoint[log:tutorial-jbi] by component:
> org.apache.camel.component.log.LogComponent@1cd480d
> DEBUG - DefaultCamelContext            - log:tutorial-string converted to
> endpoint: Endpoint[log:tutorial-string] by component:
> org.apache.camel.component.log.LogComponent@1cd480d
> DEBUG - DefaultCamelContext            - event:default converted to
> endpoint: Endpoint[event:default] by component:
> org.apache.camel.component.event.EventComponent@3589e6
> DEBUG - GenericApplicationContext      - Publishing event in context
> [org.springframework.context.support.GenericApplicationContext@30d5d0]:
> org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658:
> display name [camel-context]; startup date [Mon May 26 12:08:41 IST 2008];
> parent:
> org.springframework.context.support.GenericApplicationContext@30d5d0]
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'camel:beanPostProcessor'
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'camel'
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'camel'
> DEBUG - DefaultComponentResolver       - Found component: bean via type:
> org.apache.camel.component.bean.BeanComponent via
> META-INF/services/org/apache/camel/component/bean
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.camel.component.bean.BeanComponent' with merged definition [Root
> bean: class [org.apache.camel.component.bean.BeanComponent];
> scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
> autowireMode=3; dependencyCheck=0; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null]
> ERROR - DeadLetterChannel              - On delivery attempt: 0 caught:
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
>         at
> org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
>         at
> org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
>         at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
>         at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
>         at
> org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
>         at
> org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
>         ... 14 more
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.camel.component.bean.BeanComponent] because it is not cache-safe
> DEBUG - CamelJbiComponent              - Service unit deployed
> DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
> redelivery
> DEBUG - DeploymentService              - Unpack service unit archive
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install/http-consumer-su-1.0-SNAPSHOT.zip
> to
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su
> DEBUG - HttpComponent                  - Deploying service unit
> DEBUG - HttpComponent                  - Looking for
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/xbean.xml:
> true
> INFO  - FileSystemXmlApplicationContext - Refreshing
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext@78b6b3:
> display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
> context hierarchy
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://servicemix.apache.org/http/1.0=servicemix-http.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://servicemix.apache.org/http/1.0=servicemix-http.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://servicemix.apache.org/http/1.0=servicemix-http.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> INFO  - XBeanXmlBeanDefinitionReader   - Loading XML bean definitions from
> file
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/xbean.xml]
> DEBUG - DefaultDocumentLoader          - Using JAXP provider
> [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
> DEBUG - XBeanNamespaceHandlerResolver  - Loaded mappings
> [{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler,
> http://activemq.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
> http://servicemix.apache.org/http/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
> http://servicemix.apache.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://xbean.apache.org/schemas/server=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler,
> http://servicemix.apache.org/audit/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://servicemix.apache.org/soap/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
> http://xbean.apache.org/schemas/classloader=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://jencks.org/2.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://activemq.org/ra/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler}]
> DEBUG - XBeanNamespaceHandlerResolver  - Ignoring namespace handler
> [org.springframework.scripting.config.LangNamespaceHandler]: handler class
> not found
> java.lang.ClassNotFoundException:
> org.springframework.scripting.config.LangNamespaceHandler in classloader
> org.springframework.scripting.config.LangNamespaceHandler
>         at
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:206)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
>         at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:117)
>         at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
>         at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:82)
>         at
> org.apache.xbean.spring.context.v2.XBeanNamespaceHandlerResolver.<init>(XBeanNamespaceHandlerResolver.java:26)
>         at
> org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XBeanXmlBeanDefinitionReader.java:87)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:477)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
>         at
> org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
>         at
> org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112)
>         at
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions(FileSystemXmlApplicationContext.java:168)
>         at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
>         at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
>         at
> org.apache.xbean.server.spring.configuration.SpringConfiguration.<init>(SpringConfiguration.java:63)
>         at
> org.apache.xbean.server.spring.configuration.SpringConfigurationServiceFactory.createService(SpringConfigurationServiceFactory.java:106)
>         at
> org.apache.xbean.kernel.standard.ServiceManager.start(ServiceManager.java:420)
>         at
> org.apache.xbean.kernel.standard.ServiceManager.initialize(ServiceManager.java:200)
>         at
> org.apache.xbean.kernel.standard.RegistryFutureTask$RegisterCallable.call(RegistryFutureTask.java:110)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>         at
> org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409)
>         at
> org.apache.xbean.kernel.standard.StandardKernel.registerService(StandardKernel.java:220)
>         at
> org.apache.xbean.server.spring.loader.SpringLoader.load(SpringLoader.java:152)
>         at
> org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:83)
>         at
> org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
>         at
> org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
>         at
> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> DEBUG - XBeanBeanDefinitionDocumentReader - Loading bean definitions
> DEBUG - XBeanNamespaceHandler          - Could not find resource:
> META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/http/1.0/endpoint
> DEBUG - XBeanBeanDefinitionParserDelegate - Neither XML 'id' nor 'name'
> specified - using generated bean name
> [org.apache.servicemix.http.HttpEndpoint]
> DEBUG - XBeanXmlBeanDefinitionReader   - Loaded 1 bean definitions from
> location pattern
> [//home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/xbean.xml]
> INFO  - FileSystemXmlApplicationContext - Bean factory for application
> context
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext@78b6b3]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory@e0471c
> DEBUG - FileSystemXmlApplicationContext - 1 beans defined in
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext@78b6b3:
> display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
> context hierarchy
> DEBUG - FileSystemXmlApplicationContext - Unable to locate MessageSource
> with name 'messageSource': using default
> [org.springframework.context.support.DelegatingMessageSource@158638]
> DEBUG - FileSystemXmlApplicationContext - Unable to locate
> ApplicationEventMulticaster with name 'applicationEventMulticaster': using
> default
> [org.springframework.context.event.SimpleApplicationEventMulticaster@11ee766]
> INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@e0471c:
> defining beans [org.apache.servicemix.http.HttpEndpoint]; root of factory
> hierarchy
> DEBUG - DefaultListableBeanFactory     - Creating shared instance of
> singleton bean 'org.apache.servicemix.http.HttpEndpoint'
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.servicemix.http.HttpEndpoint' with merged definition [Root bean:
> class [org.apache.servicemix.http.HttpEndpoint]; scope=singleton;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null; defined in file
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/xbean.xml]]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.servicemix.http.HttpEndpoint] because it is not cache-safe
> DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
> 'org.apache.servicemix.http.HttpEndpoint' to allow for resolving potential
> circular references
> DEBUG - FileSystemXmlApplicationContext - Publishing event in context
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext@78b6b3]:
> org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@78b6b3:
> display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
> context hierarchy]
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'org.apache.servicemix.http.HttpEndpoint'
> DEBUG - HttpComponent                  - Service unit deployed
> INFO  - DescriptorFactory              - Validation error on
> file:/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/META-INF/jbi.xml:
> org.xml.sax.SAXParseException: cvc-complex-type.4: Attribute
> 'interface-name' must appear on element 'consumes'.
> DEBUG - DeploymentService              - Unpack service unit archive
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install/tutorial-camel-jms-su-1.0-SNAPSHOT.zip
> to
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su
> DEBUG - JmsComponent                   - Deploying service unit
> DEBUG - JmsComponent                   - Looking for
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml:
> true
> INFO  - FileSystemXmlApplicationContext - Refreshing
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext@d60bfd:
> display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
> context hierarchy
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://servicemix.apache.org/jms/1.0=servicemix-jms.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://servicemix.apache.org/jms/1.0=servicemix-jms.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://servicemix.apache.org/jms/1.0=servicemix-jms.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> INFO  - XBeanXmlBeanDefinitionReader   - Loading XML bean definitions from
> file
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]
> DEBUG - DefaultDocumentLoader          - Using JAXP provider
> [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
> DEBUG - XBeanNamespaceHandlerResolver  - Loaded mappings
> [{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler,
> http://activemq.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
> http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
> http://servicemix.apache.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://xbean.apache.org/schemas/server=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://servicemix.apache.org/jms/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler,
> http://servicemix.apache.org/audit/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://servicemix.apache.org/soap/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
> http://xbean.apache.org/schemas/classloader=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://jencks.org/2.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://activemq.org/ra/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler}]
> DEBUG - XBeanNamespaceHandlerResolver  - Ignoring namespace handler
> [org.springframework.ejb.config.JeeNamespaceHandler]: handler class not
> found
> java.lang.ClassNotFoundException:
> org.springframework.ejb.config.JeeNamespaceHandler in classloader
> org.springframework.ejb.config.JeeNamespaceHandler
>         at
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:206)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
>         at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:117)
>         at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
>         at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:82)
>         at
> org.apache.xbean.spring.context.v2.XBeanNamespaceHandlerResolver.<init>(XBeanNamespaceHandlerResolver.java:26)
>         at
> org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XBeanXmlBeanDefinitionReader.java:87)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:477)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
>         at
> org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
>         at
> org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112)
>         at
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions(FileSystemXmlApplicationContext.java:168)
>         at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
>         at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
>         at
> org.apache.xbean.server.spring.configuration.SpringConfiguration.<init>(SpringConfiguration.java:63)
>         at
> org.apache.xbean.server.spring.configuration.SpringConfigurationServiceFactory.createService(SpringConfigurationServiceFactory.java:106)
>         at
> org.apache.xbean.kernel.standard.ServiceManager.start(ServiceManager.java:420)
>         at
> org.apache.xbean.kernel.standard.ServiceManager.initialize(ServiceManager.java:200)
>         at
> org.apache.xbean.kernel.standard.RegistryFutureTask$RegisterCallable.call(RegistryFutureTask.java:110)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>         at
> org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409)
>         at
> org.apache.xbean.kernel.standard.StandardKernel.registerService(StandardKernel.java:220)
>         at
> org.apache.xbean.server.spring.loader.SpringLoader.load(SpringLoader.java:152)
>         at
> org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:83)
>         at
> org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
>         at
> org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
>         at
> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> DEBUG - XBeanBeanDefinitionDocumentReader - Loading bean definitions
> DEBUG - XBeanNamespaceHandler          - Could not find resource:
> META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/jms/1.0/provider
> DEBUG - XBeanBeanDefinitionParserDelegate - Neither XML 'id' nor 'name'
> specified - using generated bean name
> [org.apache.servicemix.jms.endpoints.JmsProviderEndpoint]
> DEBUG - XBeanNamespaceHandler          - Could not find resource:
> META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/jms/1.0/provider
> DEBUG - XBeanBeanDefinitionParserDelegate - Neither XML 'id' nor 'name'
> specified - using generated bean name
> [org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1]
> DEBUG - XBeanNamespaceHandler          - Could not find resource:
> META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/jms/1.0/provider
> DEBUG - XBeanBeanDefinitionParserDelegate - Neither XML 'id' nor 'name'
> specified - using generated bean name
> [org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2]
> DEBUG - XBeanNamespaceHandler          - Could not find resource:
> META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/jms/1.0/consumer
> DEBUG - XBeanBeanDefinitionParserDelegate - Neither XML 'id' nor 'name'
> specified - using generated bean name
> [org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint]
> DEBUG - XBeanNamespaceHandler          - Could not find resource:
> META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/connectionFactory
> DEBUG - XBeanXmlBeanDefinitionReader   - Loaded 5 bean definitions from
> location pattern
> [//home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]
> INFO  - FileSystemXmlApplicationContext - Bean factory for application
> context
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext@d60bfd]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory@b448fb
> DEBUG - FileSystemXmlApplicationContext - 5 beans defined in
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext@d60bfd:
> display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
> context hierarchy
> DEBUG - FileSystemXmlApplicationContext - Unable to locate MessageSource
> with name 'messageSource': using default
> [org.springframework.context.support.DelegatingMessageSource@600ae2]
> DEBUG - FileSystemXmlApplicationContext - Unable to locate
> ApplicationEventMulticaster with name 'applicationEventMulticaster': using
> default
> [org.springframework.context.event.SimpleApplicationEventMulticaster@16ab40a]
> INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@b448fb:
> defining beans
> [org.apache.servicemix.jms.endpoints.JmsProviderEndpoint,org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1,org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2,org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint,connectionFactory];
> root of factory hierarchy
> DEBUG - DefaultListableBeanFactory     - Creating shared instance of
> singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint'
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint' with merged
> definition [Root bean: class
> [org.apache.servicemix.jms.endpoints.JmsProviderEndpoint]; scope=singleton;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null; defined in file
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.servicemix.jms.endpoints.JmsProviderEndpoint] because it is not
> cache-safe
> DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
> 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint' to allow for
> resolving potential circular references
> DEBUG - DefaultListableBeanFactory     - Creating shared instance of
> singleton bean 'connectionFactory'
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'connectionFactory' with merged definition [Root bean: class
> [org.apache.activemq.spring.ActiveMQConnectionFactory]; scope=singleton;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null; defined in file
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]]
> DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
> 'connectionFactory' to allow for resolving potential circular references
> DEBUG - DefaultListableBeanFactory     - Creating shared instance of
> singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1'
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1' with merged
> definition [Root bean: class
> [org.apache.servicemix.jms.endpoints.JmsProviderEndpoint]; scope=singleton;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null; defined in file
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]]
> DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
> 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1' to allow for
> resolving potential circular references
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'connectionFactory'
> DEBUG - DefaultListableBeanFactory     - Creating shared instance of
> singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2'
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2' with merged
> definition [Root bean: class
> [org.apache.servicemix.jms.endpoints.JmsProviderEndpoint]; scope=singleton;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null; defined in file
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]]
> DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
> 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2' to allow for
> resolving potential circular references
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'connectionFactory'
> DEBUG - DefaultListableBeanFactory     - Creating shared instance of
> singleton bean 'org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint'
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint' with merged
> definition [Root bean: class
> [org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint]; scope=singleton;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null; defined in file
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint] because it is not
> cache-safe
> DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
> 'org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint' to allow for
> resolving potential circular references
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'connectionFactory'
> DEBUG - FileSystemXmlApplicationContext - Publishing event in context
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext@d60bfd]:
> org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@d60bfd:
> display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
> context hierarchy]
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'connectionFactory'
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2'
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1'
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint'
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint'
> DEBUG - JmsComponent                   - Service unit deployed
> INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
> tutorial-camel-sa
> INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> tutorial-camel-su
> DEBUG - CamelJbiComponent              - Initializing service unit
> DEBUG - CamelJbiComponent              - Service unit initialized
> INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> http-consumer-su
> DEBUG - HttpComponent                  - Initializing service unit
> DEBUG - HttpComponent                  - Service unit initialized
> INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> tutorial-camel-jms-su
> DEBUG - JmsComponent                   - Initializing service unit
> DEBUG - JmsComponent                   - Service unit initialized
> INFO  - ServiceUnitLifeCycle           - Starting service unit:
> tutorial-camel-su
> DEBUG - CamelJbiComponent              - Starting service unit
> DEBUG - ComponentContextImpl           - Component: servicemix-camel
> activated endpoint: {urn:org:apache:servicemix:tutorial:camel}jmsC :
> consumer
> DEBUG - CamelJbiComponent              - Querying service description for
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsC,endpoint=consumer]
> DEBUG - CamelJbiComponent              - No description found for
> {urn:org:apache:servicemix:tutorial:camel}jmsC:consumer
> DEBUG - WSDL1Processor                 - Endpoint
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsC,endpoint=consumer]
> has no service description
> DEBUG - CamelJbiComponent              - Querying service description for
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsC,endpoint=consumer]
> DEBUG - CamelJbiComponent              - No description found for
> {urn:org:apache:servicemix:tutorial:camel}jmsC:consumer
> DEBUG - WSDL2Processor                 - Endpoint
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsC,endpoint=consumer]
> has no service description
> DEBUG - ActiveMQEndpointWorker         - Starting
> DEBUG - ActiveMQEndpointWorker         - Started
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@10608e6
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:7:-1:14
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58604 before
> negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58604 after
> negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@9e8b21
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:323:-1:1
> DEBUG - ActiveMQSession                - Sending message:
> ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
> ID:gpratibha.site-34447-1211783473488-3:7:14:1:1, originalDestination =
> null, originalTransactionId = null, producerId =
> ID:gpratibha.site-34447-1211783473488-3:7:14:1, destination =
> topic://org.apache.servicemix.JCAFlow, transactionId = null, expiration = 0,
> timestamp = 1211783922091, arrival = 0, correlationId = null, replyTo =
> null, persistent = false, type = null, priority = 4, groupID = null,
> groupSequence = 0, targetConsumerId = null, compressed = false, userID =
> null, content = org.apache.activemq.util.ByteSequence@cea9dc,
> marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
> size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
> droppable = false}
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:0:32:1
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:323:-1:2
> DEBUG - ActiveMQSession                - Sending message:
> ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
> ID:gpratibha.site-34447-1211783473488-3:0:33:1:1, originalDestination =
> null, originalTransactionId = null, producerId =
> ID:gpratibha.site-34447-1211783473488-3:0:33:1, destination =
> topic://org.apache.servicemix.JMSFlow, transactionId = null, expiration = 0,
> timestamp = 1211783922125, arrival = 0, correlationId = null, replyTo =
> null, persistent = false, type = null, priority = 4, groupID = null,
> groupSequence = 0, targetConsumerId = null, compressed = false, userID =
> null, content = org.apache.activemq.util.ByteSequence@ae3ab6,
> marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
> size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
> droppable = false}
> DEBUG - ComponentContextImpl           - Component: servicemix-camel
> activated endpoint: {http://activemq.apache.org/camel/schema/jbi}endpoint :
> camel:controlBus
> DEBUG - CamelJbiComponent              - Querying service description for
> ServiceEndpoint[service={http://activemq.apache.org/camel/schema/jbi}endpoint,endpoint=camel:controlBus]
> DEBUG - CamelJbiComponent              - No description found for
> {http://activemq.apache.org/camel/schema/jbi}endpoint:camel:controlBus
> DEBUG - WSDL1Processor                 - Endpoint
> ServiceEndpoint[service={http://activemq.apache.org/camel/schema/jbi}endpoint,endpoint=camel:controlBus]
> has no service description
> DEBUG - ServerSessionPoolImpl          - ServerSession requested.
> DEBUG - CamelJbiComponent              - Querying service description for
> ServiceEndpoint[service={http://activemq.apache.org/camel/schema/jbi}endpoint,endpoint=camel:controlBus]
> DEBUG - ServerSessionPoolImpl          - Using idle session:
> ServerSessionImpl:1
> DEBUG - CamelJbiComponent              - No description found for
> {http://activemq.apache.org/camel/schema/jbi}endpoint:camel:controlBus
> DEBUG - ServerSessionImpl:1            - Starting run.
> DEBUG - WSDL2Processor                 - Endpoint
> ServiceEndpoint[service={http://activemq.apache.org/camel/schema/jbi}endpoint,endpoint=camel:controlBus]
> has no service description
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:7:-1:14
> DEBUG - ServerSessionImpl:1            - Running
> DEBUG - ServerSessionImpl:1            - run loop start
> DEBUG - ActiveMQEndpointWorker         - Starting
> DEBUG - ActiveMQEndpointWorker         - Started
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@10608e6
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:7:-1:15
> DEBUG - ActiveMQSession                - Sending message:
> ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
> ID:gpratibha.site-34447-1211783473488-3:7:15:1:1, originalDestination =
> null, originalTransactionId = null, producerId =
> ID:gpratibha.site-34447-1211783473488-3:7:15:1, destination =
> topic://org.apache.servicemix.JCAFlow, transactionId = null, expiration = 0,
> timestamp = 1211783922224, arrival = 0, correlationId = null, replyTo =
> null, persistent = false, type = null, priority = 4, groupID = null,
> groupSequence = 0, targetConsumerId = null, compressed = false, userID =
> null, content = org.apache.activemq.util.ByteSequence@4ccbc4,
> marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
> size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
> droppable = false}
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:0:33:1
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58605 before
> negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58605 after
> negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@1213f1a
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:324:-1:1
> DEBUG - ServerSessionImpl:1            - run loop end
> DEBUG - ServerSessionPoolImpl          - Session returned to pool:
> ServerSessionImpl:1
> DEBUG - ServerSessionImpl:1            - Run finished
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:7:-1:15
> DEBUG - ActiveMQSession                - Sending message:
> ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
> ID:gpratibha.site-34447-1211783473488-3:0:34:1:1, originalDestination =
> null, originalTransactionId = null, producerId =
> ID:gpratibha.site-34447-1211783473488-3:0:34:1, destination =
> topic://org.apache.servicemix.JMSFlow, transactionId = null, expiration = 0,
> timestamp = 1211783922278, arrival = 0, correlationId = null, replyTo =
> null, persistent = false, type = null, priority = 4, groupID = null,
> groupSequence = 0, targetConsumerId = null, compressed = false, userID =
> null, content = org.apache.activemq.util.ByteSequence@a49e9a,
> marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
> size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
> droppable = false}
> DEBUG - ServerSessionPoolImpl          - ServerSession requested.
> DEBUG - ServerSessionPoolImpl          - Using idle session:
> ServerSessionImpl:1
> DEBUG - ServerSessionImpl:1            - Starting run.
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:324:-1:2
> DEBUG - CamelJbiComponent              - Service unit started
> INFO  - ServiceUnitLifeCycle           - Starting service unit:
> http-consumer-su
> DEBUG - ServerSessionImpl:1            - Running
> DEBUG - HttpComponent                  - Starting service unit
> DEBUG - ServerSessionImpl:1            - run loop start
> DEBUG - HttpComponent                  - Retrieving proxied endpoint
> definition
> DEBUG - HttpComponent                  - Could not retrieve endpoint for
> service/endpoint
> DEBUG - jetty                          - filterNameMap=null
> DEBUG - jetty                          - pathFilters=null
> DEBUG - jetty                          - servletFilterMap=null
> DEBUG - jetty                          - servletPathMap={/*=jbiServlet}
> DEBUG - jetty                          -
> servletNameMap={jbiServlet=jbiServlet}
> DEBUG - jetty                          - Container
> ContextHandlerCollection@172ccd6 +
> org.mortbay.jetty.handler.ContextHandler@13e8c11{/TestCamel,null} as handler
> DEBUG - jetty                          - Container ServletHandler@55de08 +
> jbiServlet as servlet
> DEBUG - jetty                          - Container ServletHandler@55de08 +
> (S=jbiServlet,[/*]) as servletMapping
> DEBUG - jetty                          - Container
> org.mortbay.jetty.handler.ContextHandler@13e8c11{/TestCamel,null} +
> ServletHandler@55de08 as handler
> DEBUG - jetty                          - Holding class
> org.apache.servicemix.http.HttpBridgeServlet
> DEBUG - jetty                          - started jbiServlet
> DEBUG - jetty                          - Container
> org.mortbay.jetty.handler.ContextHandler@13e8c11{/TestCamel,null} +
> ErrorHandler@fedba5 as errorHandler
> DEBUG - jetty                          - filterNameMap=null
> DEBUG - jetty                          - pathFilters=null
> DEBUG - jetty                          - servletFilterMap=null
> DEBUG - jetty                          - servletPathMap={/*=jbiServlet}
> DEBUG - jetty                          -
> servletNameMap={jbiServlet=jbiServlet}
> DEBUG - jetty                          - starting ServletHandler@55de08
> DEBUG - jetty                          - started ServletHandler@55de08
> DEBUG - jetty                          - starting
> org.mortbay.jetty.handler.ContextHandler@13e8c11{/TestCamel,null}
> DEBUG - jetty                          - starting ErrorHandler@fedba5
> DEBUG - jetty                          - started ErrorHandler@fedba5
> DEBUG - jetty                          - started
> org.mortbay.jetty.handler.ContextHandler@13e8c11{/TestCamel,null}
> DEBUG - HttpComponent                  - Service unit started
> INFO  - ServiceUnitLifeCycle           - Starting service unit:
> tutorial-camel-jms-su
> DEBUG - JmsComponent                   - Starting service unit
> DEBUG - ComponentContextImpl           - Component: servicemix-jms activated
> endpoint: {urn:org:apache:servicemix:tutorial:camel}jmsP3 : provider3
> DEBUG - JmsComponent                   - Querying service description for
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP3,endpoint=provider3]
> DEBUG - JmsComponent                   - No description found for
> {urn:org:apache:servicemix:tutorial:camel}jmsP3:provider3
> DEBUG - WSDL1Processor                 - Endpoint
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP3,endpoint=provider3]
> has no service description
> DEBUG - JmsComponent                   - Querying service description for
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP3,endpoint=provider3]
> DEBUG - JmsComponent                   - No description found for
> {urn:org:apache:servicemix:tutorial:camel}jmsP3:provider3
> DEBUG - WSDL2Processor                 - Endpoint
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP3,endpoint=provider3]
> has no service description
> DEBUG - ActiveMQEndpointWorker         - Starting
> DEBUG - ActiveMQEndpointWorker         - Started
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@10608e6
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:7:-1:16
> DEBUG - ServerSessionImpl:1            - run loop end
> DEBUG - ServerSessionPoolImpl          - Session returned to pool:
> ServerSessionImpl:1
> DEBUG - ServerSessionImpl:1            - Run finished
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58606 before
> negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58606 after
> negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - ActiveMQSession                - Sending message:
> ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
> ID:gpratibha.site-34447-1211783473488-3:7:16:1:1, originalDestination =
> null, originalTransactionId = null, producerId =
> ID:gpratibha.site-34447-1211783473488-3:7:16:1, destination =
> topic://org.apache.servicemix.JCAFlow, transactionId = null, expiration = 0,
> timestamp = 1211783922389, arrival = 0, correlationId = null, replyTo =
> null, persistent = false, type = null, priority = 4, groupID = null,
> groupSequence = 0, targetConsumerId = null, compressed = false, userID =
> null, content = org.apache.activemq.util.ByteSequence@c057f2,
> marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
> size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
> droppable = false}
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:0:34:1
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@15019bc
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:325:-1:1
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:7:-1:16
> DEBUG - ServerSessionPoolImpl          - ServerSession requested.
> DEBUG - ServerSessionPoolImpl          - Using idle session:
> ServerSessionImpl:1
> DEBUG - ServerSessionImpl:1            - Starting run.
> DEBUG - ServerSessionImpl:1            - Running
> DEBUG - ServerSessionImpl:1            - run loop start
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:325:-1:2
> DEBUG - ActiveMQSession                - Sending message:
> ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
> ID:gpratibha.site-34447-1211783473488-3:0:35:1:1, originalDestination =
> null, originalTransactionId = null, producerId =
> ID:gpratibha.site-34447-1211783473488-3:0:35:1, destination =
> topic://org.apache.servicemix.JMSFlow, transactionId = null, expiration = 0,
> timestamp = 1211783922443, arrival = 0, correlationId = null, replyTo =
> null, persistent = false, type = null, priority = 4, groupID = null,
> groupSequence = 0, targetConsumerId = null, compressed = false, userID =
> null, content = org.apache.activemq.util.ByteSequence@1ffdee7,
> marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
> size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
> droppable = false}
> DEBUG - ComponentContextImpl           - Component: servicemix-jms activated
> endpoint: {urn:org:apache:servicemix:tutorial:camel}jmsP2 : provider2
> DEBUG - JmsComponent                   - Querying service description for
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP2,endpoint=provider2]
> DEBUG - JmsComponent                   - No description found for
> {urn:org:apache:servicemix:tutorial:camel}jmsP2:provider2
> DEBUG - WSDL1Processor                 - Endpoint
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP2,endpoint=provider2]
> has no service description
> DEBUG - JmsComponent                   - Querying service description for
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP2,endpoint=provider2]
> DEBUG - JmsComponent                   - No description found for
> {urn:org:apache:servicemix:tutorial:camel}jmsP2:provider2
> DEBUG - WSDL2Processor                 - Endpoint
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP2,endpoint=provider2]
> has no service description
> DEBUG - ActiveMQEndpointWorker         - Starting
> DEBUG - ActiveMQEndpointWorker         - Started
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@10608e6
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:7:-1:17
> DEBUG - ServerSessionImpl:1            - run loop end
> DEBUG - ServerSessionPoolImpl          - Session returned to pool:
> ServerSessionImpl:1
> DEBUG - ServerSessionImpl:1            - Run finished
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58607 before
> negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58607 after
> negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@eba1a
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:326:-1:1
> ERROR - DeadLetterChannel              - On delivery attempt: 1 caught:
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
>         at
> org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
>         at
> org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
>         at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
>         at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
>         at
> org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
>         at
> org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
>         ... 14 more
> DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
> redelivery
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:326:-1:2
> DEBUG - ActiveMQSession                - Sending message:
> ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
> ID:gpratibha.site-34447-1211783473488-3:7:17:1:1, originalDestination =
> null, originalTransactionId = null, producerId =
> ID:gpratibha.site-34447-1211783473488-3:7:17:1, destination =
> topic://org.apache.servicemix.JCAFlow, transactionId = null, expiration = 0,
> timestamp = 1211783922720, arrival = 0, correlationId = null, replyTo =
> null, persistent = false, type = null, priority = 4, groupID = null,
> groupSequence = 0, targetConsumerId = null, compressed = false, userID =
> null, content = org.apache.activemq.util.ByteSequence@4c5e5b,
> marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
> size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
> droppable = false}
> DEBUG - ServerSessionPoolImpl          - ServerSession requested.
> DEBUG - ServerSessionPoolImpl          - Using idle session:
> ServerSessionImpl:1
> DEBUG - ServerSessionImpl:1            - Starting run.
> DEBUG - ServerSessionImpl:1            - Running
> DEBUG - ServerSessionImpl:1            - run loop start
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:7:-1:17
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:0:35:1
> DEBUG - ServerSessionImpl:1            - run loop end
> DEBUG - ServerSessionPoolImpl          - Session returned to pool:
> ServerSessionImpl:1
> DEBUG - ServerSessionImpl:1            - Run finished
> DEBUG - ActiveMQSession                - Sending message:
> ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
> ID:gpratibha.site-34447-1211783473488-3:0:36:1:1, originalDestination =
> null, originalTransactionId = null, producerId =
> ID:gpratibha.site-34447-1211783473488-3:0:36:1, destination =
> topic://org.apache.servicemix.JMSFlow, transactionId = null, expiration = 0,
> timestamp = 1211783922805, arrival = 0, correlationId = null, replyTo =
> null, persistent = false, type = null, priority = 4, groupID = null,
> groupSequence = 0, targetConsumerId = null, compressed = false, userID =
> null, content = org.apache.activemq.util.ByteSequence@1b10a5c,
> marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
> size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
> droppable = false}
> DEBUG - ComponentContextImpl           - Component: servicemix-jms activated
> endpoint: {urn:org:apache:servicemix:tutorial:camel}jmsP1 : provider1
> DEBUG - JmsComponent                   - Querying service description for
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP1,endpoint=provider1]
> DEBUG - JmsComponent                   - No description found for
> {urn:org:apache:servicemix:tutorial:camel}jmsP1:provider1
> DEBUG - WSDL1Processor                 - Endpoint
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP1,endpoint=provider1]
> has no service description
> DEBUG - JmsComponent                   - Querying service description for
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP1,endpoint=provider1]
> DEBUG - JmsComponent                   - No description found for
> {urn:org:apache:servicemix:tutorial:camel}jmsP1:provider1
> DEBUG - WSDL2Processor                 - Endpoint
> ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP1,endpoint=provider1]
> has no service description
> DEBUG - ActiveMQEndpointWorker         - Starting
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - ActiveMQEndpointWorker         - Started
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@10608e6
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:7:-1:18
> DEBUG - ActiveMQSession                - Sending message:
> ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
> ID:gpratibha.site-34447-1211783473488-3:7:18:1:1, originalDestination =
> null, originalTransactionId = null, producerId =
> ID:gpratibha.site-34447-1211783473488-3:7:18:1, destination =
> topic://org.apache.servicemix.JCAFlow, transactionId = null, expiration = 0,
> timestamp = 1211783922965, arrival = 0, correlationId = null, replyTo =
> null, persistent = false, type = null, priority = 4, groupID = null,
> groupSequence = 0, targetConsumerId = null, compressed = false, userID =
> null, content = org.apache.activemq.util.ByteSequence@913c14,
> marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
> size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
> droppable = false}
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:0:36:1
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:7:-1:18
> DEBUG - ServerSessionPoolImpl          - ServerSession requested.
> DEBUG - ServerSessionPoolImpl          - Using idle session:
> ServerSessionImpl:1
> DEBUG - ServerSessionImpl:1            - Starting run.
> DEBUG - ServerSessionImpl:1            - Running
> DEBUG - ServerSessionImpl:1            - run loop start
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58608 before
> negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58608 after
> negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@9820cd
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:327:-1:1
> DEBUG - ServerSessionImpl:1            - run loop end
> DEBUG - ServerSessionPoolImpl          - Session returned to pool:
> ServerSessionImpl:1
> DEBUG - ServerSessionImpl:1            - Run finished
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58609 before
> negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58609 after
> negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - ActiveMQSession                - Sending message:
> ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
> ID:gpratibha.site-34447-1211783473488-3:0:37:1:1, originalDestination =
> null, originalTransactionId = null, producerId =
> ID:gpratibha.site-34447-1211783473488-3:0:37:1, destination =
> topic://org.apache.servicemix.JMSFlow, transactionId = null, expiration = 0,
> timestamp = 1211783923092, arrival = 0, correlationId = null, replyTo =
> null, persistent = false, type = null, priority = 4, groupID = null,
> groupSequence = 0, targetConsumerId = null, compressed = false, userID =
> null, content = org.apache.activemq.util.ByteSequence@91edbc,
> marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
> size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
> droppable = false}
> DEBUG - JmsComponent                   - Service unit started
> INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished
> installation of archive:  tutorial-camel-sa-1.0-SNAPSHOT.zip
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@17970e2
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:327:1:1
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:328:-1:1
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:328:-1:2
> ERROR - DeadLetterChannel              - On delivery attempt: 2 caught:
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
>         at
> org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
>         at
> org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
>         at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
>         at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
>         at
> org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
>         at
> org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
>         ... 14 more
> DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
> redelivery
> DEBUG - DefaultMessageListenerContainer - Consumer [ActiveMQMessageConsumer
> { value=ID:gpratibha.site-34447-1211783473488-3:327:1:1, started=true }] of
> session [ActiveMQSession
> {id=ID:gpratibha.site-34447-1211783473488-3:327:1,started=true}] did not
> receive a message
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:327:1:1
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:327:-1:1
> DEBUG - TransportConnection            - Stopping connection:
> /127.0.0.1:58608
> DEBUG - TransportConnection            - Stopped connection:
> /127.0.0.1:58608
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58610 before
> negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58610 after
> negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@1577da
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:329:-1:1
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:329:1:1
> ERROR - DeadLetterChannel              - On delivery attempt: 3 caught:
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
>         at
> org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
>         at
> org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
>         at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
>         at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
>         at
> org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
>         at
> org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
>         ... 14 more
> DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
> redelivery
> DEBUG - DefaultMessageListenerContainer - Consumer [ActiveMQMessageConsumer
> { value=ID:gpratibha.site-34447-1211783473488-3:329:1:1, started=true }] of
> session [ActiveMQSession
> {id=ID:gpratibha.site-34447-1211783473488-3:329:1,started=true}] did not
> receive a message
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:329:1:1
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:329:-1:1
> DEBUG - TransportConnection            - Stopping connection:
> /127.0.0.1:58610
> DEBUG - TransportConnection            - Stopped connection:
> /127.0.0.1:58610
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58611 before
> negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58611 after
> negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@1faf13d
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:330:-1:1
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:330:1:1
> ERROR - DeadLetterChannel              - On delivery attempt: 4 caught:
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
>         at
> org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
>         at
> org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
>         at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
>         at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
>         at
> org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
>         at
> org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
>         ... 14 more
> DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
> redelivery
> DEBUG - DefaultMessageListenerContainer - Consumer [ActiveMQMessageConsumer
> { value=ID:gpratibha.site-34447-1211783473488-3:330:1:1, started=true }] of
> session [ActiveMQSession
> {id=ID:gpratibha.site-34447-1211783473488-3:330:1,started=true}] did not
> receive a message
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:330:1:1
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:330:-1:1
> DEBUG - TransportConnection            - Stopping connection:
> /127.0.0.1:58611
> DEBUG - TransportConnection            - Stopped connection:
> /127.0.0.1:58611
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58612 before
> negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58612 after
> negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@101deb9
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:331:-1:1
> ERROR - DeadLetterChannel              - On delivery attempt: 5 caught:
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
>         at
> org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
>         at
> org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
>         at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
>         at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
>         at
> org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
>         at
> org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
>         ... 14 more
> DEBUG - DefaultCamelContext            -
> log:org.apache.camel.DeadLetterChannel?level=error converted to endpoint:
> Endpoint[log:org.apache.camel.DeadLetterChannel?level=error] by component:
> org.apache.camel.component.log.LogComponent@1cd480d
> DEBUG - Pipeline                       - Mesage exchange has failed so
> breaking out of pipeline: Exchange[Message: <message>Hello world!</message>]
> exception: org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync fault: null
> DEBUG - Pipeline                       - Mesage exchange has failed so
> breaking out of pipeline: Exchange[Message: <message>Hello world!</message>]
> exception: org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: illegal call to sendSync fault: null
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:331:1:1
> DEBUG - DefaultMessageListenerContainer - Consumer [ActiveMQMessageConsumer
> { value=ID:gpratibha.site-34447-1211783473488-3:331:1:1, started=true }] of
> session [ActiveMQSession
> {id=ID:gpratibha.site-34447-1211783473488-3:331:1,started=true}] did not
> receive a message
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:331:1:1
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-34447-1211783473488-3:331:-1:1
> DEBUG - TransportConnection            - Stopping connection:
> /127.0.0.1:58612
> DEBUG - TransportConnection            - Stopped connection:
> /127.0.0.1:58612
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
> version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58613 before
> negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58613 after
> negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> { version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
> stackTraceEnabled=false, tightEncodingEnabled=false,
> sizePrefixDisabled=false}
> DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
> after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
> stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
> DEBUG - TransportConnection            - Setting up new connection:
> org.apache.activemq.broker.jmx.ManagedTransportConnection@41db9a
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:332:-1:1
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-34447-1211783473488-3:332:1:1
> DEBUG - DefaultMessageListenerContainer - Consumer [ActiveMQMessageConsumer
> { value=ID:gpratibha.site-34447-1211783473488-3:332:1:1, started=true }] of
> session [ActiveMQSession
> {id=ID:gpratibha.site-34447-1211783473488-3:332:1,started=true}] did not
> receive a message
>
>
> and it continues
>
> When I don't use listener:
>
> INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive
> changed: processing tutorial-camel-sa-1.0-SNAPSHOT.zip ...
> DEBUG - AutoDeploymentService          - Unpacked archive
> /home/pghogale/apache-servicemix-3.2.1/hotdeploy/tutorial-camel-sa-1.0-SNAPSHOT.zip
> to
> /home/pghogale/apache-servicemix-3.2.1/data/smx/tmp/tutorial-camel-sa-1.0-SNAPSHOT.0.tmp
> DEBUG - AutoDeploymentService          - SA dependencies: [servicemix-http,
> servicemix-jms, servicemix-camel]
> DEBUG - DeploymentService              - Moving
> /home/pghogale/apache-servicemix-3.2.1/data/smx/tmp/tutorial-camel-sa-1.0-SNAPSHOT.0.tmp
> to
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install
> DEBUG - DeploymentService              - Unpack service unit archive
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install/tutorial-camel-su-1.0-SNAPSHOT.zip
> to
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su
> DEBUG - CamelJbiComponent              - Deploying service unit
> DEBUG - CamelJbiComponent              - Looking for
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml:
> true
> INFO  - GenericApplicationContext      - Refreshing
> org.springframework.context.support.GenericApplicationContext@1f8e336:
> display name
> [org.springframework.context.support.GenericApplicationContext@1f8e336];
> startup date [Mon May 26 12:36:15 IST 2008]; root of context hierarchy
> INFO  - GenericApplicationContext      - Bean factory for application
> context
> [org.springframework.context.support.GenericApplicationContext@1f8e336]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory@10d1117
> DEBUG - GenericApplicationContext      - 0 beans defined in
> org.springframework.context.support.GenericApplicationContext@1f8e336:
> display name
> [org.springframework.context.support.GenericApplicationContext@1f8e336];
> startup date [Mon May 26 12:36:15 IST 2008]; root of context hierarchy
> DEBUG - GenericApplicationContext      - Unable to locate MessageSource with
> name 'messageSource': using default
> [org.springframework.context.support.DelegatingMessageSource@19714cd]
> DEBUG - GenericApplicationContext      - Unable to locate
> ApplicationEventMulticaster with name 'applicationEventMulticaster': using
> default
> [org.springframework.context.event.SimpleApplicationEventMulticaster@1d6ba37]
> INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@10d1117:
> defining beans []; root of factory hierarchy
> DEBUG - GenericApplicationContext      - Publishing event in context
> [org.springframework.context.support.GenericApplicationContext@1f8e336]:
> org.springframework.context.event.ContextRefreshedEvent[source=org.springframework.context.support.GenericApplicationContext@1f8e336:
> display name
> [org.springframework.context.support.GenericApplicationContext@1f8e336];
> startup date [Mon May 26 12:36:15 IST 2008]; root of context hierarchy]
> INFO  - FileSystemXmlApplicationContext - Refreshing
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada:
> display name [camel-context]; startup date [Mon May 26 12:36:15 IST 2008];
> parent:
> org.springframework.context.support.GenericApplicationContext@1f8e336
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
> http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
> http://xbean.apache.org/schemas/server=xbean-server.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
> http://activemq.org/ra/1.0=activemq-ra.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://jencks.org/2.0=jencks.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://servicemix.apache.org/config/1.0=servicemix.xsd,
> http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
> http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
> INFO  - XBeanXmlBeanDefinitionReader   - Loading XML bean definitions from
> file
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml]
> DEBUG - DefaultDocumentLoader          - Using JAXP provider
> [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
> DEBUG - XBeanNamespaceHandlerResolver  - Loaded mappings
> [{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler,
> http://activemq.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
> http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
> http://activemq.apache.org/camel/schema/spring=org.apache.camel.spring.handler.CamelNamespaceHandler,
> http://servicemix.apache.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://xbean.apache.org/schemas/server=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler,
> http://servicemix.apache.org/audit/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://servicemix.apache.org/soap/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
> http://xbean.apache.org/schemas/classloader=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://jencks.org/2.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://activemq.org/ra/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
> http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler}]
> DEBUG - XBeanBeanDefinitionDocumentReader - Loading bean definitions
> DEBUG - XBeanXmlBeanDefinitionReader   - Loaded 2 bean definitions from
> location pattern
> [//home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml]
> INFO  - FileSystemXmlApplicationContext - Bean factory for application
> context
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory@2d5f08
> DEBUG - FileSystemXmlApplicationContext - 2 beans defined in
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada:
> display name [camel-context]; startup date [Mon May 26 12:36:15 IST 2008];
> parent:
> org.springframework.context.support.GenericApplicationContext@1f8e336
> DEBUG - DefaultListableBeanFactory     - Creating shared instance of
> singleton bean 'camel:beanPostProcessor'
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'camel:beanPostProcessor' with merged definition [Root bean: class
> [org.apache.camel.spring.CamelBeanPostProcessor]; scope=singleton;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.camel.spring.CamelBeanPostProcessor] because it is not
> cache-safe
> DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
> 'camel:beanPostProcessor' to allow for resolving potential circular
> references
> DEBUG - DefaultListableBeanFactory     - Creating shared instance of
> singleton bean 'camel'
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean 'camel'
> with merged definition [Root bean: class
> [org.apache.camel.spring.CamelContextFactoryBean]; scope=singleton;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.camel.spring.CamelContextFactoryBean] because it is not
> cache-safe
> DEBUG - DefaultListableBeanFactory     - Eagerly caching bean 'camel' to
> allow for resolving potential circular references
> DEBUG - CamelContextFactoryBean        - Found JAXB created routes: []
> DEBUG - ResolverUtil                   - Searching for implementations of
> org.apache.camel.builder.RouteBuilder in packages:
> [org.apache.servicemix.tutorial.camel]
> DEBUG - ResolverUtil                   - Scanning for classes in
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/org/apache/servicemix/tutorial/camel/]
> matching criteria: is assignable to RouteBuilder
> DEBUG - ResolverUtil                   - Found: [class
> org.apache.servicemix.tutorial.camel.MyRouteBuilder]
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.servicemix.tutorial.camel.MyRouteBuilder' with merged definition
> [Root bean: class [org.apache.servicemix.tutorial.camel.MyRouteBuilder];
> scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
> autowireMode=3; dependencyCheck=0; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.servicemix.tutorial.camel.MyRouteBuilder] because it is not
> cache-safe
> INFO  - FileSystemXmlApplicationContext - Bean
> 'org.apache.servicemix.tutorial.camel.MyRouteBuilder' is not eligible for
> getting processed by all BeanPostProcessors (for example: not eligible for
> auto-proxying)
> DEBUG - DefaultCamelContext            - Adding routes from: Routes: [Route[
> [From[timer://tutorial?fixedRate=true&period=100000]] -> [Processor[ref: 
> null],
> To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1],
> To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2],
> Choice[ [When[ Expression[null] ->
> [To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3]]]]
> null]]], Route[
> [From[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer]]
> -> [To[log:tutorial-jbi], Processor[ref:  null], To[log:tutorial-string]]]]
> routes: []
> INFO  - FileSystemXmlApplicationContext - Bean 'camel' is not eligible for
> getting processed by all BeanPostProcessors (for example: not eligible for
> auto-proxying)
> INFO  - FileSystemXmlApplicationContext - Bean 'camel' is not eligible for
> getting processed by all BeanPostProcessors (for example: not eligible for
> auto-proxying)
> INFO  - FileSystemXmlApplicationContext - Bean 'camel:beanPostProcessor' is
> not eligible for getting processed by all BeanPostProcessors (for example:
> not eligible for auto-proxying)
> DEBUG - FileSystemXmlApplicationContext - Unable to locate MessageSource
> with name 'messageSource': using default
> [org.springframework.context.support.DelegatingMessageSource@653566]
> DEBUG - FileSystemXmlApplicationContext - Unable to locate
> ApplicationEventMulticaster with name 'applicationEventMulticaster': using
> default
> [org.springframework.context.event.SimpleApplicationEventMulticaster@94cd2e]
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'camel'
> INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@2d5f08:
> defining beans [camel:beanPostProcessor,camel]; parent:
> org.springframework.beans.factory.support.DefaultListableBeanFactory@10d1117
> DEBUG - FileSystemXmlApplicationContext - Publishing event in context
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada]:
> org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada:
> display name [camel-context]; startup date [Mon May 26 12:36:15 IST 2008];
> parent:
> org.springframework.context.support.GenericApplicationContext@1f8e336]
> DEBUG - SpringCamelContext             - Publishing event:
> org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada:
> display name [camel-context]; startup date [Mon May 26 12:36:15 IST 2008];
> parent:
> org.springframework.context.support.GenericApplicationContext@1f8e336]
> DEBUG - SpringCamelContext             - Starting the CamelContext now that
> the ApplicationContext has started
> DEBUG - DefaultComponentResolver       - Found component: timer via type:
> org.apache.camel.component.timer.TimerComponent via
> META-INF/services/org/apache/camel/component/timer
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.camel.component.timer.TimerComponent' with merged definition
> [Root bean: class [org.apache.camel.component.timer.TimerComponent];
> scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
> autowireMode=3; dependencyCheck=0; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.camel.component.timer.TimerComponent] because it is not
> cache-safe
> DEBUG - ResolverUtil                   - Scanning for classes in
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/lib/camel-mail-1.2.0.jar]
> matching criteria: annotated with @Converter
> DEBUG - ResolverUtil                   - Scanning for classes in
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/components/servicemix-camel/version_1/lib/camel-core-1.2.0.jar]
> matching criteria: annotated with @Converter
> DEBUG - ResolverUtil                   - Scanning for classes in
> [/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/lib/camel-core-1.2.0.jar]
> matching criteria: annotated with @Converter
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.converter.NIOConverter
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.converter.IOConverter
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.converter.CollectionConverter
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.component.mail.MailConverters
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.converter.jaxp.XmlConverter
> DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
> org.apache.camel.converter.ObjectConverter
> DEBUG - DefaultCamelContext            -
> timer://tutorial?fixedRate=true&period=100000 converted to endpoint:
> Endpoint[timer://tutorial?fixedRate=true&period=100000] by component:
> org.apache.camel.component.timer.TimerComponent@16a2838
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'jbi'
> DEBUG - DefaultComponentResolver       - Found component: jbi in registry:
> org.apache.servicemix.camel.CamelJbiComponent@383244
> DEBUG - DefaultCamelContext            -
> jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1
> converted to endpoint:
> Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1]
> by component: org.apache.servicemix.camel.CamelJbiComponent@383244
> DEBUG - DefaultCamelContext            -
> jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2
> converted to endpoint:
> Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2]
> by component: org.apache.servicemix.camel.CamelJbiComponent@383244
> DEBUG - DefaultCamelContext            -
> jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3
> converted to endpoint:
> Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3]
> by component: org.apache.servicemix.camel.CamelJbiComponent@383244
> DEBUG - DefaultCamelContext            -
> jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer
> converted to endpoint:
> Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer] by
> component: org.apache.servicemix.camel.CamelJbiComponent@383244
> DEBUG - DefaultComponentResolver       - Found component: log via type:
> org.apache.camel.component.log.LogComponent via
> META-INF/services/org/apache/camel/component/log
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.camel.component.log.LogComponent' with merged definition [Root
> bean: class [org.apache.camel.component.log.LogComponent]; scope=prototype;
> abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=3;
> dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
> initMethodName=null; destroyMethodName=null]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.camel.component.log.LogComponent] because it is not cache-safe
> DEBUG - DefaultCamelContext            - log:tutorial-jbi converted to
> endpoint: Endpoint[log:tutorial-jbi] by component:
> org.apache.camel.component.log.LogComponent@768ee6
> DEBUG - DefaultCamelContext            - log:tutorial-string converted to
> endpoint: Endpoint[log:tutorial-string] by component:
> org.apache.camel.component.log.LogComponent@768ee6
> DEBUG - DefaultCamelContext            - event:default converted to
> endpoint: Endpoint[event:default] by component:
> org.apache.camel.component.event.EventComponent@19fdee7
> DEBUG - GenericApplicationContext      - Publishing event in context
> [org.springframework.context.support.GenericApplicationContext@1f8e336]:
> org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada:
> display name [camel-context]; startup date [Mon May 26 12:36:15 IST 2008];
> parent:
> org.springframework.context.support.GenericApplicationContext@1f8e336]
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'camel:beanPostProcessor'
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'camel'
> DEBUG - DefaultListableBeanFactory     - Returning cached instance of
> singleton bean 'camel'
> DEBUG - DefaultComponentResolver       - Found component: bean via type:
> org.apache.camel.component.bean.BeanComponent via
> META-INF/services/org/apache/camel/component/bean
> DEBUG - DefaultListableBeanFactory     - Creating instance of bean
> 'org.apache.camel.component.bean.BeanComponent' with merged definition [Root
> bean: class [org.apache.camel.component.bean.BeanComponent];
> scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
> autowireMode=3; dependencyCheck=0; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null]
> DEBUG - CachedIntrospectionResults     - Not strongly caching class
> [org.apache.camel.component.bean.BeanComponent] because it is not cache-safe
> DEBUG - CamelJbiComponent              - Service unit deployed
> ERROR - DeadLetterChannel              - On delivery attempt: 0 caught:
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: Could not find route for exchange:
> InOnly[
>   id: ID:192.168.2.64-11a2409442d-4:11
>   status: Active
>   role: provider
>   in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
> ] for service: null and interface: null
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: Could not find route for exchange:
> InOnly[
>   id: ID:192.168.2.64-11a2409442d-4:11
>   status: Active
>   role: provider
>   in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
> ] for service: null and interface: null
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
>         at
> org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
>         at
> org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
>         at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
>         at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
>         at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
>         at
> org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
>         at
> org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Caused by: javax.jbi.messaging.MessagingException: Could not find route for
> exchange: InOnly[
>   id: ID:192.168.2.64-11a2409442d-4:11
>   status: Active
>   role: provider
>   in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
> ] for service: null and interface: null
>         at
> org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:297)
>         at
> org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(SecuredBroker.java:81)
>         at
> org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:830)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:395)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
>         at
> org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
>         ... 14 more
> DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
> redelivery
> DEBUG - DeploymentService              - Unpack service unit archive
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install/http-consumer-su-1.0-SNAPSHOT.zip
> to
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su
> DEBUG - HttpComponent                  - Deploying service unit
> DEBUG - HttpComponent                  - Looking for
> /home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/xbean.xml:
> true
> INFO  - FileSystemXmlApplicationContext - Refreshing
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1c836d9:
> display name [xbean]; startup date [Mon May 26 12:36:16 IST 2008]; root of
> context hierarchy
> DEBUG - PluggableSchemaResolver        - Loading schema mappings from
> [META-INF/spring.schemas]
> DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
> {http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scrip
>
> and it continues.
>   


Re: Exception Listener in servicemix

Posted by pratibhaG <pr...@in2m.com>.

Here are the logs:
When I have listener configured:

INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive
changed: processing tutorial-camel-sa-1.0-SNAPSHOT.zip ...
DEBUG - AutoDeploymentService          - Unpacked archive
/home/pghogale/apache-servicemix-3.2.1/hotdeploy/tutorial-camel-sa-1.0-SNAPSHOT.zip
to
/home/pghogale/apache-servicemix-3.2.1/data/smx/tmp/tutorial-camel-sa-1.0-SNAPSHOT.0.tmp
DEBUG - AutoDeploymentService          - SA dependencies: [servicemix-http,
servicemix-jms, servicemix-camel]
DEBUG - DeploymentService              - Moving
/home/pghogale/apache-servicemix-3.2.1/data/smx/tmp/tutorial-camel-sa-1.0-SNAPSHOT.0.tmp
to
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install
DEBUG - DeploymentService              - Unpack service unit archive
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install/tutorial-camel-su-1.0-SNAPSHOT.zip
to
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su
DEBUG - CamelJbiComponent              - Deploying service unit
DEBUG - CamelJbiComponent              - Looking for
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml:
true
INFO  - GenericApplicationContext      - Refreshing
org.springframework.context.support.GenericApplicationContext@30d5d0:
display name
[org.springframework.context.support.GenericApplicationContext@30d5d0];
startup date [Mon May 26 12:08:41 IST 2008]; root of context hierarchy
INFO  - GenericApplicationContext      - Bean factory for application
context
[org.springframework.context.support.GenericApplicationContext@30d5d0]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@2577eb
DEBUG - GenericApplicationContext      - 0 beans defined in
org.springframework.context.support.GenericApplicationContext@30d5d0:
display name
[org.springframework.context.support.GenericApplicationContext@30d5d0];
startup date [Mon May 26 12:08:41 IST 2008]; root of context hierarchy
DEBUG - GenericApplicationContext      - Unable to locate MessageSource with
name 'messageSource': using default
[org.springframework.context.support.DelegatingMessageSource@1602a95]
DEBUG - GenericApplicationContext      - Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default
[org.springframework.context.event.SimpleApplicationEventMulticaster@8bb272]
INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@2577eb:
defining beans []; root of factory hierarchy
DEBUG - GenericApplicationContext      - Publishing event in context
[org.springframework.context.support.GenericApplicationContext@30d5d0]:
org.springframework.context.event.ContextRefreshedEvent[source=org.springframework.context.support.GenericApplicationContext@30d5d0:
display name
[org.springframework.context.support.GenericApplicationContext@30d5d0];
startup date [Mon May 26 12:08:41 IST 2008]; root of context hierarchy]
INFO  - FileSystemXmlApplicationContext - Refreshing
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658:
display name [camel-context]; startup date [Mon May 26 12:08:41 IST 2008];
parent: org.springframework.context.support.GenericApplicationContext@30d5d0
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
INFO  - XBeanXmlBeanDefinitionReader   - Loading XML bean definitions from
file
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml]
DEBUG - DefaultDocumentLoader          - Using JAXP provider
[org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
DEBUG - XBeanNamespaceHandlerResolver  - Loaded mappings
[{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler,
http://activemq.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
http://activemq.apache.org/camel/schema/spring=org.apache.camel.spring.handler.CamelNamespaceHandler,
http://servicemix.apache.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://xbean.apache.org/schemas/server=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler,
http://servicemix.apache.org/audit/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://servicemix.apache.org/soap/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
http://xbean.apache.org/schemas/classloader=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://jencks.org/2.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://activemq.org/ra/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler}]
DEBUG - XBeanBeanDefinitionDocumentReader - Loading bean definitions
DEBUG - XBeanXmlBeanDefinitionReader   - Loaded 2 bean definitions from
location pattern
[//home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml]
INFO  - FileSystemXmlApplicationContext - Bean factory for application
context
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@1f54a25
DEBUG - FileSystemXmlApplicationContext - 2 beans defined in
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658:
display name [camel-context]; startup date [Mon May 26 12:08:41 IST 2008];
parent: org.springframework.context.support.GenericApplicationContext@30d5d0
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'camel:beanPostProcessor'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'camel:beanPostProcessor' with merged definition [Root bean: class
[org.apache.camel.spring.CamelBeanPostProcessor]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.camel.spring.CamelBeanPostProcessor] because it is not
cache-safe
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
'camel:beanPostProcessor' to allow for resolving potential circular
references
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'camel'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean 'camel'
with merged definition [Root bean: class
[org.apache.camel.spring.CamelContextFactoryBean]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.camel.spring.CamelContextFactoryBean] because it is not
cache-safe
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean 'camel' to
allow for resolving potential circular references
DEBUG - CamelContextFactoryBean        - Found JAXB created routes: []
DEBUG - ResolverUtil                   - Searching for implementations of
org.apache.camel.builder.RouteBuilder in packages:
[org.apache.servicemix.tutorial.camel]
DEBUG - ResolverUtil                   - Scanning for classes in
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/org/apache/servicemix/tutorial/camel/]
matching criteria: is assignable to RouteBuilder
DEBUG - ResolverUtil                   - Found: [class
org.apache.servicemix.tutorial.camel.MyRouteBuilder]
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.servicemix.tutorial.camel.MyRouteBuilder' with merged definition
[Root bean: class [org.apache.servicemix.tutorial.camel.MyRouteBuilder];
scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
autowireMode=3; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.servicemix.tutorial.camel.MyRouteBuilder] because it is not
cache-safe
INFO  - FileSystemXmlApplicationContext - Bean
'org.apache.servicemix.tutorial.camel.MyRouteBuilder' is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
DEBUG - DefaultCamelContext            - Adding routes from: Routes: [Route[
[From[timer://tutorial?fixedRate=true&period=100000]] -> [Processor[ref: 
null],
To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1],
To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2],
Choice[ [When[ Expression[null] ->
[To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3]]]]
null]]], Route[
[From[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer]]
-> [To[log:tutorial-jbi], Processor[ref:  null], To[log:tutorial-string]]]]
routes: []
INFO  - FileSystemXmlApplicationContext - Bean 'camel' is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
INFO  - FileSystemXmlApplicationContext - Bean 'camel' is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
INFO  - FileSystemXmlApplicationContext - Bean 'camel:beanPostProcessor' is
not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
DEBUG - FileSystemXmlApplicationContext - Unable to locate MessageSource
with name 'messageSource': using default
[org.springframework.context.support.DelegatingMessageSource@1e07a86]
DEBUG - FileSystemXmlApplicationContext - Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default
[org.springframework.context.event.SimpleApplicationEventMulticaster@8bf66d]
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'camel'
INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@1f54a25:
defining beans [camel:beanPostProcessor,camel]; parent:
org.springframework.beans.factory.support.DefaultListableBeanFactory@2577eb
DEBUG - FileSystemXmlApplicationContext - Publishing event in context
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658]:
org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658:
display name [camel-context]; startup date [Mon May 26 12:08:41 IST 2008];
parent:
org.springframework.context.support.GenericApplicationContext@30d5d0]
DEBUG - SpringCamelContext             - Publishing event:
org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658:
display name [camel-context]; startup date [Mon May 26 12:08:41 IST 2008];
parent:
org.springframework.context.support.GenericApplicationContext@30d5d0]
DEBUG - SpringCamelContext             - Starting the CamelContext now that
the ApplicationContext has started
DEBUG - DefaultComponentResolver       - Found component: timer via type:
org.apache.camel.component.timer.TimerComponent via
META-INF/services/org/apache/camel/component/timer
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.camel.component.timer.TimerComponent' with merged definition
[Root bean: class [org.apache.camel.component.timer.TimerComponent];
scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
autowireMode=3; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.camel.component.timer.TimerComponent] because it is not
cache-safe
DEBUG - ResolverUtil                   - Scanning for classes in
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/lib/camel-mail-1.2.0.jar]
matching criteria: annotated with @Converter
DEBUG - ResolverUtil                   - Scanning for classes in
[/home/pghogale/apache-servicemix-3.2.1/data/smx/components/servicemix-camel/version_1/lib/camel-core-1.2.0.jar]
matching criteria: annotated with @Converter
DEBUG - ResolverUtil                   - Scanning for classes in
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/lib/camel-core-1.2.0.jar]
matching criteria: annotated with @Converter
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.converter.CollectionConverter
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.converter.jaxp.XmlConverter
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.converter.IOConverter
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.converter.NIOConverter
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.converter.ObjectConverter
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.component.mail.MailConverters
DEBUG - DefaultCamelContext            -
timer://tutorial?fixedRate=true&period=100000 converted to endpoint:
Endpoint[timer://tutorial?fixedRate=true&period=100000] by component:
org.apache.camel.component.timer.TimerComponent@16ea7b8
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'jbi'
DEBUG - DefaultComponentResolver       - Found component: jbi in registry:
org.apache.servicemix.camel.CamelJbiComponent@ca4aae
DEBUG - DefaultCamelContext            -
jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1
converted to endpoint:
Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1]
by component: org.apache.servicemix.camel.CamelJbiComponent@ca4aae
DEBUG - DefaultCamelContext            -
jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2
converted to endpoint:
Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2]
by component: org.apache.servicemix.camel.CamelJbiComponent@ca4aae
DEBUG - DefaultCamelContext            -
jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3
converted to endpoint:
Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3]
by component: org.apache.servicemix.camel.CamelJbiComponent@ca4aae
DEBUG - DefaultCamelContext            -
jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer
converted to endpoint:
Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer] by
component: org.apache.servicemix.camel.CamelJbiComponent@ca4aae
DEBUG - DefaultComponentResolver       - Found component: log via type:
org.apache.camel.component.log.LogComponent via
META-INF/services/org/apache/camel/component/log
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.camel.component.log.LogComponent' with merged definition [Root
bean: class [org.apache.camel.component.log.LogComponent]; scope=prototype;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=3;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.camel.component.log.LogComponent] because it is not cache-safe
DEBUG - DefaultCamelContext            - log:tutorial-jbi converted to
endpoint: Endpoint[log:tutorial-jbi] by component:
org.apache.camel.component.log.LogComponent@1cd480d
DEBUG - DefaultCamelContext            - log:tutorial-string converted to
endpoint: Endpoint[log:tutorial-string] by component:
org.apache.camel.component.log.LogComponent@1cd480d
DEBUG - DefaultCamelContext            - event:default converted to
endpoint: Endpoint[event:default] by component:
org.apache.camel.component.event.EventComponent@3589e6
DEBUG - GenericApplicationContext      - Publishing event in context
[org.springframework.context.support.GenericApplicationContext@30d5d0]:
org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1707658:
display name [camel-context]; startup date [Mon May 26 12:08:41 IST 2008];
parent:
org.springframework.context.support.GenericApplicationContext@30d5d0]
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'camel:beanPostProcessor'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'camel'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'camel'
DEBUG - DefaultComponentResolver       - Found component: bean via type:
org.apache.camel.component.bean.BeanComponent via
META-INF/services/org/apache/camel/component/bean
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.camel.component.bean.BeanComponent' with merged definition [Root
bean: class [org.apache.camel.component.bean.BeanComponent];
scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
autowireMode=3; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null]
ERROR - DeadLetterChannel              - On delivery attempt: 0 caught:
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
        at
org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
        at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
        at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
        at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
        at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
        at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
        at
org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
        at
org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
        ... 14 more
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.camel.component.bean.BeanComponent] because it is not cache-safe
DEBUG - CamelJbiComponent              - Service unit deployed
DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
redelivery
DEBUG - DeploymentService              - Unpack service unit archive
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install/http-consumer-su-1.0-SNAPSHOT.zip
to
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su
DEBUG - HttpComponent                  - Deploying service unit
DEBUG - HttpComponent                  - Looking for
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/xbean.xml:
true
INFO  - FileSystemXmlApplicationContext - Refreshing
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@78b6b3:
display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
context hierarchy
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://servicemix.apache.org/http/1.0=servicemix-http.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://servicemix.apache.org/http/1.0=servicemix-http.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://servicemix.apache.org/http/1.0=servicemix-http.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
INFO  - XBeanXmlBeanDefinitionReader   - Loading XML bean definitions from
file
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/xbean.xml]
DEBUG - DefaultDocumentLoader          - Using JAXP provider
[org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
DEBUG - XBeanNamespaceHandlerResolver  - Loaded mappings
[{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler,
http://activemq.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
http://servicemix.apache.org/http/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
http://servicemix.apache.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://xbean.apache.org/schemas/server=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler,
http://servicemix.apache.org/audit/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://servicemix.apache.org/soap/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
http://xbean.apache.org/schemas/classloader=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://jencks.org/2.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://activemq.org/ra/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler}]
DEBUG - XBeanNamespaceHandlerResolver  - Ignoring namespace handler
[org.springframework.scripting.config.LangNamespaceHandler]: handler class
not found
java.lang.ClassNotFoundException:
org.springframework.scripting.config.LangNamespaceHandler in classloader
org.springframework.scripting.config.LangNamespaceHandler
        at
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
        at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:117)
        at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
        at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:82)
        at
org.apache.xbean.spring.context.v2.XBeanNamespaceHandlerResolver.<init>(XBeanNamespaceHandlerResolver.java:26)
        at
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XBeanXmlBeanDefinitionReader.java:87)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:477)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
        at
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
        at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions(FileSystemXmlApplicationContext.java:168)
        at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
        at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
        at
org.apache.xbean.server.spring.configuration.SpringConfiguration.<init>(SpringConfiguration.java:63)
        at
org.apache.xbean.server.spring.configuration.SpringConfigurationServiceFactory.createService(SpringConfigurationServiceFactory.java:106)
        at
org.apache.xbean.kernel.standard.ServiceManager.start(ServiceManager.java:420)
        at
org.apache.xbean.kernel.standard.ServiceManager.initialize(ServiceManager.java:200)
        at
org.apache.xbean.kernel.standard.RegistryFutureTask$RegisterCallable.call(RegistryFutureTask.java:110)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at
org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409)
        at
org.apache.xbean.kernel.standard.StandardKernel.registerService(StandardKernel.java:220)
        at
org.apache.xbean.server.spring.loader.SpringLoader.load(SpringLoader.java:152)
        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:83)
        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
        at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
DEBUG - XBeanBeanDefinitionDocumentReader - Loading bean definitions
DEBUG - XBeanNamespaceHandler          - Could not find resource:
META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/http/1.0/endpoint
DEBUG - XBeanBeanDefinitionParserDelegate - Neither XML 'id' nor 'name'
specified - using generated bean name
[org.apache.servicemix.http.HttpEndpoint]
DEBUG - XBeanXmlBeanDefinitionReader   - Loaded 1 bean definitions from
location pattern
[//home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/xbean.xml]
INFO  - FileSystemXmlApplicationContext - Bean factory for application
context
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@78b6b3]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@e0471c
DEBUG - FileSystemXmlApplicationContext - 1 beans defined in
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@78b6b3:
display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
context hierarchy
DEBUG - FileSystemXmlApplicationContext - Unable to locate MessageSource
with name 'messageSource': using default
[org.springframework.context.support.DelegatingMessageSource@158638]
DEBUG - FileSystemXmlApplicationContext - Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default
[org.springframework.context.event.SimpleApplicationEventMulticaster@11ee766]
INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@e0471c:
defining beans [org.apache.servicemix.http.HttpEndpoint]; root of factory
hierarchy
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'org.apache.servicemix.http.HttpEndpoint'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.servicemix.http.HttpEndpoint' with merged definition [Root bean:
class [org.apache.servicemix.http.HttpEndpoint]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null; defined in file
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/xbean.xml]]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.servicemix.http.HttpEndpoint] because it is not cache-safe
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
'org.apache.servicemix.http.HttpEndpoint' to allow for resolving potential
circular references
DEBUG - FileSystemXmlApplicationContext - Publishing event in context
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@78b6b3]:
org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@78b6b3:
display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
context hierarchy]
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'org.apache.servicemix.http.HttpEndpoint'
DEBUG - HttpComponent                  - Service unit deployed
INFO  - DescriptorFactory              - Validation error on
file:/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/META-INF/jbi.xml:
org.xml.sax.SAXParseException: cvc-complex-type.4: Attribute
'interface-name' must appear on element 'consumes'.
DEBUG - DeploymentService              - Unpack service unit archive
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install/tutorial-camel-jms-su-1.0-SNAPSHOT.zip
to
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su
DEBUG - JmsComponent                   - Deploying service unit
DEBUG - JmsComponent                   - Looking for
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml:
true
INFO  - FileSystemXmlApplicationContext - Refreshing
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@d60bfd:
display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
context hierarchy
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://servicemix.apache.org/jms/1.0=servicemix-jms.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://servicemix.apache.org/jms/1.0=servicemix-jms.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://servicemix.apache.org/jms/1.0=servicemix-jms.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
INFO  - XBeanXmlBeanDefinitionReader   - Loading XML bean definitions from
file
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]
DEBUG - DefaultDocumentLoader          - Using JAXP provider
[org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
DEBUG - XBeanNamespaceHandlerResolver  - Loaded mappings
[{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler,
http://activemq.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
http://servicemix.apache.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://xbean.apache.org/schemas/server=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://servicemix.apache.org/jms/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler,
http://servicemix.apache.org/audit/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://servicemix.apache.org/soap/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
http://xbean.apache.org/schemas/classloader=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://jencks.org/2.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://activemq.org/ra/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler}]
DEBUG - XBeanNamespaceHandlerResolver  - Ignoring namespace handler
[org.springframework.ejb.config.JeeNamespaceHandler]: handler class not
found
java.lang.ClassNotFoundException:
org.springframework.ejb.config.JeeNamespaceHandler in classloader
org.springframework.ejb.config.JeeNamespaceHandler
        at
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
        at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:117)
        at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
        at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:82)
        at
org.apache.xbean.spring.context.v2.XBeanNamespaceHandlerResolver.<init>(XBeanNamespaceHandlerResolver.java:26)
        at
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XBeanXmlBeanDefinitionReader.java:87)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:477)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
        at
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
        at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions(FileSystemXmlApplicationContext.java:168)
        at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
        at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
        at
org.apache.xbean.server.spring.configuration.SpringConfiguration.<init>(SpringConfiguration.java:63)
        at
org.apache.xbean.server.spring.configuration.SpringConfigurationServiceFactory.createService(SpringConfigurationServiceFactory.java:106)
        at
org.apache.xbean.kernel.standard.ServiceManager.start(ServiceManager.java:420)
        at
org.apache.xbean.kernel.standard.ServiceManager.initialize(ServiceManager.java:200)
        at
org.apache.xbean.kernel.standard.RegistryFutureTask$RegisterCallable.call(RegistryFutureTask.java:110)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at
org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409)
        at
org.apache.xbean.kernel.standard.StandardKernel.registerService(StandardKernel.java:220)
        at
org.apache.xbean.server.spring.loader.SpringLoader.load(SpringLoader.java:152)
        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:83)
        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
        at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
DEBUG - XBeanBeanDefinitionDocumentReader - Loading bean definitions
DEBUG - XBeanNamespaceHandler          - Could not find resource:
META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/jms/1.0/provider
DEBUG - XBeanBeanDefinitionParserDelegate - Neither XML 'id' nor 'name'
specified - using generated bean name
[org.apache.servicemix.jms.endpoints.JmsProviderEndpoint]
DEBUG - XBeanNamespaceHandler          - Could not find resource:
META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/jms/1.0/provider
DEBUG - XBeanBeanDefinitionParserDelegate - Neither XML 'id' nor 'name'
specified - using generated bean name
[org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1]
DEBUG - XBeanNamespaceHandler          - Could not find resource:
META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/jms/1.0/provider
DEBUG - XBeanBeanDefinitionParserDelegate - Neither XML 'id' nor 'name'
specified - using generated bean name
[org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2]
DEBUG - XBeanNamespaceHandler          - Could not find resource:
META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/jms/1.0/consumer
DEBUG - XBeanBeanDefinitionParserDelegate - Neither XML 'id' nor 'name'
specified - using generated bean name
[org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint]
DEBUG - XBeanNamespaceHandler          - Could not find resource:
META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/connectionFactory
DEBUG - XBeanXmlBeanDefinitionReader   - Loaded 5 bean definitions from
location pattern
[//home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]
INFO  - FileSystemXmlApplicationContext - Bean factory for application
context
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@d60bfd]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@b448fb
DEBUG - FileSystemXmlApplicationContext - 5 beans defined in
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@d60bfd:
display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
context hierarchy
DEBUG - FileSystemXmlApplicationContext - Unable to locate MessageSource
with name 'messageSource': using default
[org.springframework.context.support.DelegatingMessageSource@600ae2]
DEBUG - FileSystemXmlApplicationContext - Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default
[org.springframework.context.event.SimpleApplicationEventMulticaster@16ab40a]
INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@b448fb:
defining beans
[org.apache.servicemix.jms.endpoints.JmsProviderEndpoint,org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1,org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2,org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint,connectionFactory];
root of factory hierarchy
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint' with merged
definition [Root bean: class
[org.apache.servicemix.jms.endpoints.JmsProviderEndpoint]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null; defined in file
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.servicemix.jms.endpoints.JmsProviderEndpoint] because it is not
cache-safe
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint' to allow for
resolving potential circular references
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'connectionFactory'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'connectionFactory' with merged definition [Root bean: class
[org.apache.activemq.spring.ActiveMQConnectionFactory]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null; defined in file
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]]
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
'connectionFactory' to allow for resolving potential circular references
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1' with merged
definition [Root bean: class
[org.apache.servicemix.jms.endpoints.JmsProviderEndpoint]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null; defined in file
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]]
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1' to allow for
resolving potential circular references
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'connectionFactory'
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2' with merged
definition [Root bean: class
[org.apache.servicemix.jms.endpoints.JmsProviderEndpoint]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null; defined in file
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]]
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2' to allow for
resolving potential circular references
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'connectionFactory'
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint' with merged
definition [Root bean: class
[org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null; defined in file
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-jms/tutorial-camel-jms-su/xbean.xml]]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint] because it is not
cache-safe
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
'org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint' to allow for
resolving potential circular references
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'connectionFactory'
DEBUG - FileSystemXmlApplicationContext - Publishing event in context
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@d60bfd]:
org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@d60bfd:
display name [xbean]; startup date [Mon May 26 12:08:41 IST 2008]; root of
context hierarchy]
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'connectionFactory'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#2'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint#1'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint'
DEBUG - JmsComponent                   - Service unit deployed
INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
tutorial-camel-sa
INFO  - ServiceUnitLifeCycle           - Initializing service unit:
tutorial-camel-su
DEBUG - CamelJbiComponent              - Initializing service unit
DEBUG - CamelJbiComponent              - Service unit initialized
INFO  - ServiceUnitLifeCycle           - Initializing service unit:
http-consumer-su
DEBUG - HttpComponent                  - Initializing service unit
DEBUG - HttpComponent                  - Service unit initialized
INFO  - ServiceUnitLifeCycle           - Initializing service unit:
tutorial-camel-jms-su
DEBUG - JmsComponent                   - Initializing service unit
DEBUG - JmsComponent                   - Service unit initialized
INFO  - ServiceUnitLifeCycle           - Starting service unit:
tutorial-camel-su
DEBUG - CamelJbiComponent              - Starting service unit
DEBUG - ComponentContextImpl           - Component: servicemix-camel
activated endpoint: {urn:org:apache:servicemix:tutorial:camel}jmsC :
consumer
DEBUG - CamelJbiComponent              - Querying service description for
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsC,endpoint=consumer]
DEBUG - CamelJbiComponent              - No description found for
{urn:org:apache:servicemix:tutorial:camel}jmsC:consumer
DEBUG - WSDL1Processor                 - Endpoint
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsC,endpoint=consumer]
has no service description
DEBUG - CamelJbiComponent              - Querying service description for
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsC,endpoint=consumer]
DEBUG - CamelJbiComponent              - No description found for
{urn:org:apache:servicemix:tutorial:camel}jmsC:consumer
DEBUG - WSDL2Processor                 - Endpoint
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsC,endpoint=consumer]
has no service description
DEBUG - ActiveMQEndpointWorker         - Starting
DEBUG - ActiveMQEndpointWorker         - Started
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@10608e6
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:7:-1:14
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58604 before
negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58604 after
negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@9e8b21
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:323:-1:1
DEBUG - ActiveMQSession                - Sending message:
ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
ID:gpratibha.site-34447-1211783473488-3:7:14:1:1, originalDestination =
null, originalTransactionId = null, producerId =
ID:gpratibha.site-34447-1211783473488-3:7:14:1, destination =
topic://org.apache.servicemix.JCAFlow, transactionId = null, expiration = 0,
timestamp = 1211783922091, arrival = 0, correlationId = null, replyTo =
null, persistent = false, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = org.apache.activemq.util.ByteSequence@cea9dc,
marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
droppable = false}
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:0:32:1
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:323:-1:2
DEBUG - ActiveMQSession                - Sending message:
ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
ID:gpratibha.site-34447-1211783473488-3:0:33:1:1, originalDestination =
null, originalTransactionId = null, producerId =
ID:gpratibha.site-34447-1211783473488-3:0:33:1, destination =
topic://org.apache.servicemix.JMSFlow, transactionId = null, expiration = 0,
timestamp = 1211783922125, arrival = 0, correlationId = null, replyTo =
null, persistent = false, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = org.apache.activemq.util.ByteSequence@ae3ab6,
marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
droppable = false}
DEBUG - ComponentContextImpl           - Component: servicemix-camel
activated endpoint: {http://activemq.apache.org/camel/schema/jbi}endpoint :
camel:controlBus
DEBUG - CamelJbiComponent              - Querying service description for
ServiceEndpoint[service={http://activemq.apache.org/camel/schema/jbi}endpoint,endpoint=camel:controlBus]
DEBUG - CamelJbiComponent              - No description found for
{http://activemq.apache.org/camel/schema/jbi}endpoint:camel:controlBus
DEBUG - WSDL1Processor                 - Endpoint
ServiceEndpoint[service={http://activemq.apache.org/camel/schema/jbi}endpoint,endpoint=camel:controlBus]
has no service description
DEBUG - ServerSessionPoolImpl          - ServerSession requested.
DEBUG - CamelJbiComponent              - Querying service description for
ServiceEndpoint[service={http://activemq.apache.org/camel/schema/jbi}endpoint,endpoint=camel:controlBus]
DEBUG - ServerSessionPoolImpl          - Using idle session:
ServerSessionImpl:1
DEBUG - CamelJbiComponent              - No description found for
{http://activemq.apache.org/camel/schema/jbi}endpoint:camel:controlBus
DEBUG - ServerSessionImpl:1            - Starting run.
DEBUG - WSDL2Processor                 - Endpoint
ServiceEndpoint[service={http://activemq.apache.org/camel/schema/jbi}endpoint,endpoint=camel:controlBus]
has no service description
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:7:-1:14
DEBUG - ServerSessionImpl:1            - Running
DEBUG - ServerSessionImpl:1            - run loop start
DEBUG - ActiveMQEndpointWorker         - Starting
DEBUG - ActiveMQEndpointWorker         - Started
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@10608e6
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:7:-1:15
DEBUG - ActiveMQSession                - Sending message:
ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
ID:gpratibha.site-34447-1211783473488-3:7:15:1:1, originalDestination =
null, originalTransactionId = null, producerId =
ID:gpratibha.site-34447-1211783473488-3:7:15:1, destination =
topic://org.apache.servicemix.JCAFlow, transactionId = null, expiration = 0,
timestamp = 1211783922224, arrival = 0, correlationId = null, replyTo =
null, persistent = false, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = org.apache.activemq.util.ByteSequence@4ccbc4,
marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
droppable = false}
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:0:33:1
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58605 before
negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58605 after
negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@1213f1a
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:324:-1:1
DEBUG - ServerSessionImpl:1            - run loop end
DEBUG - ServerSessionPoolImpl          - Session returned to pool:
ServerSessionImpl:1
DEBUG - ServerSessionImpl:1            - Run finished
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:7:-1:15
DEBUG - ActiveMQSession                - Sending message:
ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
ID:gpratibha.site-34447-1211783473488-3:0:34:1:1, originalDestination =
null, originalTransactionId = null, producerId =
ID:gpratibha.site-34447-1211783473488-3:0:34:1, destination =
topic://org.apache.servicemix.JMSFlow, transactionId = null, expiration = 0,
timestamp = 1211783922278, arrival = 0, correlationId = null, replyTo =
null, persistent = false, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = org.apache.activemq.util.ByteSequence@a49e9a,
marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
droppable = false}
DEBUG - ServerSessionPoolImpl          - ServerSession requested.
DEBUG - ServerSessionPoolImpl          - Using idle session:
ServerSessionImpl:1
DEBUG - ServerSessionImpl:1            - Starting run.
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:324:-1:2
DEBUG - CamelJbiComponent              - Service unit started
INFO  - ServiceUnitLifeCycle           - Starting service unit:
http-consumer-su
DEBUG - ServerSessionImpl:1            - Running
DEBUG - HttpComponent                  - Starting service unit
DEBUG - ServerSessionImpl:1            - run loop start
DEBUG - HttpComponent                  - Retrieving proxied endpoint
definition
DEBUG - HttpComponent                  - Could not retrieve endpoint for
service/endpoint
DEBUG - jetty                          - filterNameMap=null
DEBUG - jetty                          - pathFilters=null
DEBUG - jetty                          - servletFilterMap=null
DEBUG - jetty                          - servletPathMap={/*=jbiServlet}
DEBUG - jetty                          -
servletNameMap={jbiServlet=jbiServlet}
DEBUG - jetty                          - Container
ContextHandlerCollection@172ccd6 +
org.mortbay.jetty.handler.ContextHandler@13e8c11{/TestCamel,null} as handler
DEBUG - jetty                          - Container ServletHandler@55de08 +
jbiServlet as servlet
DEBUG - jetty                          - Container ServletHandler@55de08 +
(S=jbiServlet,[/*]) as servletMapping
DEBUG - jetty                          - Container
org.mortbay.jetty.handler.ContextHandler@13e8c11{/TestCamel,null} +
ServletHandler@55de08 as handler
DEBUG - jetty                          - Holding class
org.apache.servicemix.http.HttpBridgeServlet
DEBUG - jetty                          - started jbiServlet
DEBUG - jetty                          - Container
org.mortbay.jetty.handler.ContextHandler@13e8c11{/TestCamel,null} +
ErrorHandler@fedba5 as errorHandler
DEBUG - jetty                          - filterNameMap=null
DEBUG - jetty                          - pathFilters=null
DEBUG - jetty                          - servletFilterMap=null
DEBUG - jetty                          - servletPathMap={/*=jbiServlet}
DEBUG - jetty                          -
servletNameMap={jbiServlet=jbiServlet}
DEBUG - jetty                          - starting ServletHandler@55de08
DEBUG - jetty                          - started ServletHandler@55de08
DEBUG - jetty                          - starting
org.mortbay.jetty.handler.ContextHandler@13e8c11{/TestCamel,null}
DEBUG - jetty                          - starting ErrorHandler@fedba5
DEBUG - jetty                          - started ErrorHandler@fedba5
DEBUG - jetty                          - started
org.mortbay.jetty.handler.ContextHandler@13e8c11{/TestCamel,null}
DEBUG - HttpComponent                  - Service unit started
INFO  - ServiceUnitLifeCycle           - Starting service unit:
tutorial-camel-jms-su
DEBUG - JmsComponent                   - Starting service unit
DEBUG - ComponentContextImpl           - Component: servicemix-jms activated
endpoint: {urn:org:apache:servicemix:tutorial:camel}jmsP3 : provider3
DEBUG - JmsComponent                   - Querying service description for
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP3,endpoint=provider3]
DEBUG - JmsComponent                   - No description found for
{urn:org:apache:servicemix:tutorial:camel}jmsP3:provider3
DEBUG - WSDL1Processor                 - Endpoint
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP3,endpoint=provider3]
has no service description
DEBUG - JmsComponent                   - Querying service description for
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP3,endpoint=provider3]
DEBUG - JmsComponent                   - No description found for
{urn:org:apache:servicemix:tutorial:camel}jmsP3:provider3
DEBUG - WSDL2Processor                 - Endpoint
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP3,endpoint=provider3]
has no service description
DEBUG - ActiveMQEndpointWorker         - Starting
DEBUG - ActiveMQEndpointWorker         - Started
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@10608e6
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:7:-1:16
DEBUG - ServerSessionImpl:1            - run loop end
DEBUG - ServerSessionPoolImpl          - Session returned to pool:
ServerSessionImpl:1
DEBUG - ServerSessionImpl:1            - Run finished
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58606 before
negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58606 after
negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - ActiveMQSession                - Sending message:
ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
ID:gpratibha.site-34447-1211783473488-3:7:16:1:1, originalDestination =
null, originalTransactionId = null, producerId =
ID:gpratibha.site-34447-1211783473488-3:7:16:1, destination =
topic://org.apache.servicemix.JCAFlow, transactionId = null, expiration = 0,
timestamp = 1211783922389, arrival = 0, correlationId = null, replyTo =
null, persistent = false, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = org.apache.activemq.util.ByteSequence@c057f2,
marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
droppable = false}
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:0:34:1
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@15019bc
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:325:-1:1
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:7:-1:16
DEBUG - ServerSessionPoolImpl          - ServerSession requested.
DEBUG - ServerSessionPoolImpl          - Using idle session:
ServerSessionImpl:1
DEBUG - ServerSessionImpl:1            - Starting run.
DEBUG - ServerSessionImpl:1            - Running
DEBUG - ServerSessionImpl:1            - run loop start
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:325:-1:2
DEBUG - ActiveMQSession                - Sending message:
ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
ID:gpratibha.site-34447-1211783473488-3:0:35:1:1, originalDestination =
null, originalTransactionId = null, producerId =
ID:gpratibha.site-34447-1211783473488-3:0:35:1, destination =
topic://org.apache.servicemix.JMSFlow, transactionId = null, expiration = 0,
timestamp = 1211783922443, arrival = 0, correlationId = null, replyTo =
null, persistent = false, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = org.apache.activemq.util.ByteSequence@1ffdee7,
marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
droppable = false}
DEBUG - ComponentContextImpl           - Component: servicemix-jms activated
endpoint: {urn:org:apache:servicemix:tutorial:camel}jmsP2 : provider2
DEBUG - JmsComponent                   - Querying service description for
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP2,endpoint=provider2]
DEBUG - JmsComponent                   - No description found for
{urn:org:apache:servicemix:tutorial:camel}jmsP2:provider2
DEBUG - WSDL1Processor                 - Endpoint
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP2,endpoint=provider2]
has no service description
DEBUG - JmsComponent                   - Querying service description for
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP2,endpoint=provider2]
DEBUG - JmsComponent                   - No description found for
{urn:org:apache:servicemix:tutorial:camel}jmsP2:provider2
DEBUG - WSDL2Processor                 - Endpoint
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP2,endpoint=provider2]
has no service description
DEBUG - ActiveMQEndpointWorker         - Starting
DEBUG - ActiveMQEndpointWorker         - Started
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@10608e6
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:7:-1:17
DEBUG - ServerSessionImpl:1            - run loop end
DEBUG - ServerSessionPoolImpl          - Session returned to pool:
ServerSessionImpl:1
DEBUG - ServerSessionImpl:1            - Run finished
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58607 before
negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58607 after
negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@eba1a
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:326:-1:1
ERROR - DeadLetterChannel              - On delivery attempt: 1 caught:
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
        at
org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
        at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
        at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
        at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
        at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
        at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
        at
org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
        at
org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
        ... 14 more
DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
redelivery
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:326:-1:2
DEBUG - ActiveMQSession                - Sending message:
ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
ID:gpratibha.site-34447-1211783473488-3:7:17:1:1, originalDestination =
null, originalTransactionId = null, producerId =
ID:gpratibha.site-34447-1211783473488-3:7:17:1, destination =
topic://org.apache.servicemix.JCAFlow, transactionId = null, expiration = 0,
timestamp = 1211783922720, arrival = 0, correlationId = null, replyTo =
null, persistent = false, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = org.apache.activemq.util.ByteSequence@4c5e5b,
marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
droppable = false}
DEBUG - ServerSessionPoolImpl          - ServerSession requested.
DEBUG - ServerSessionPoolImpl          - Using idle session:
ServerSessionImpl:1
DEBUG - ServerSessionImpl:1            - Starting run.
DEBUG - ServerSessionImpl:1            - Running
DEBUG - ServerSessionImpl:1            - run loop start
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:7:-1:17
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:0:35:1
DEBUG - ServerSessionImpl:1            - run loop end
DEBUG - ServerSessionPoolImpl          - Session returned to pool:
ServerSessionImpl:1
DEBUG - ServerSessionImpl:1            - Run finished
DEBUG - ActiveMQSession                - Sending message:
ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
ID:gpratibha.site-34447-1211783473488-3:0:36:1:1, originalDestination =
null, originalTransactionId = null, producerId =
ID:gpratibha.site-34447-1211783473488-3:0:36:1, destination =
topic://org.apache.servicemix.JMSFlow, transactionId = null, expiration = 0,
timestamp = 1211783922805, arrival = 0, correlationId = null, replyTo =
null, persistent = false, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = org.apache.activemq.util.ByteSequence@1b10a5c,
marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
droppable = false}
DEBUG - ComponentContextImpl           - Component: servicemix-jms activated
endpoint: {urn:org:apache:servicemix:tutorial:camel}jmsP1 : provider1
DEBUG - JmsComponent                   - Querying service description for
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP1,endpoint=provider1]
DEBUG - JmsComponent                   - No description found for
{urn:org:apache:servicemix:tutorial:camel}jmsP1:provider1
DEBUG - WSDL1Processor                 - Endpoint
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP1,endpoint=provider1]
has no service description
DEBUG - JmsComponent                   - Querying service description for
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP1,endpoint=provider1]
DEBUG - JmsComponent                   - No description found for
{urn:org:apache:servicemix:tutorial:camel}jmsP1:provider1
DEBUG - WSDL2Processor                 - Endpoint
ServiceEndpoint[service={urn:org:apache:servicemix:tutorial:camel}jmsP1,endpoint=provider1]
has no service description
DEBUG - ActiveMQEndpointWorker         - Starting
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - ActiveMQEndpointWorker         - Started
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@10608e6
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:7:-1:18
DEBUG - ActiveMQSession                - Sending message:
ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
ID:gpratibha.site-34447-1211783473488-3:7:18:1:1, originalDestination =
null, originalTransactionId = null, producerId =
ID:gpratibha.site-34447-1211783473488-3:7:18:1, destination =
topic://org.apache.servicemix.JCAFlow, transactionId = null, expiration = 0,
timestamp = 1211783922965, arrival = 0, correlationId = null, replyTo =
null, persistent = false, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = org.apache.activemq.util.ByteSequence@913c14,
marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
droppable = false}
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:0:36:1
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:7:-1:18
DEBUG - ServerSessionPoolImpl          - ServerSession requested.
DEBUG - ServerSessionPoolImpl          - Using idle session:
ServerSessionImpl:1
DEBUG - ServerSessionImpl:1            - Starting run.
DEBUG - ServerSessionImpl:1            - Running
DEBUG - ServerSessionImpl:1            - run loop start
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58608 before
negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58608 after
negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@9820cd
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:327:-1:1
DEBUG - ServerSessionImpl:1            - run loop end
DEBUG - ServerSessionPoolImpl          - Session returned to pool:
ServerSessionImpl:1
DEBUG - ServerSessionImpl:1            - Run finished
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58609 before
negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58609 after
negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - ActiveMQSession                - Sending message:
ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId =
ID:gpratibha.site-34447-1211783473488-3:0:37:1:1, originalDestination =
null, originalTransactionId = null, producerId =
ID:gpratibha.site-34447-1211783473488-3:0:37:1, destination =
topic://org.apache.servicemix.JMSFlow, transactionId = null, expiration = 0,
timestamp = 1211783923092, arrival = 0, correlationId = null, replyTo =
null, persistent = false, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = org.apache.activemq.util.ByteSequence@91edbc,
marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true,
droppable = false}
DEBUG - JmsComponent                   - Service unit started
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished
installation of archive:  tutorial-camel-sa-1.0-SNAPSHOT.zip
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@17970e2
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:327:1:1
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:328:-1:1
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:328:-1:2
ERROR - DeadLetterChannel              - On delivery attempt: 2 caught:
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
        at
org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
        at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
        at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
        at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
        at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
        at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
        at
org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
        at
org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
        ... 14 more
DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
redelivery
DEBUG - DefaultMessageListenerContainer - Consumer [ActiveMQMessageConsumer
{ value=ID:gpratibha.site-34447-1211783473488-3:327:1:1, started=true }] of
session [ActiveMQSession
{id=ID:gpratibha.site-34447-1211783473488-3:327:1,started=true}] did not
receive a message
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:327:1:1
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:327:-1:1
DEBUG - TransportConnection            - Stopping connection:
/127.0.0.1:58608
DEBUG - TransportConnection            - Stopped connection:
/127.0.0.1:58608
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58610 before
negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58610 after
negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@1577da
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:329:-1:1
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:329:1:1
ERROR - DeadLetterChannel              - On delivery attempt: 3 caught:
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
        at
org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
        at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
        at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
        at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
        at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
        at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
        at
org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
        at
org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
        ... 14 more
DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
redelivery
DEBUG - DefaultMessageListenerContainer - Consumer [ActiveMQMessageConsumer
{ value=ID:gpratibha.site-34447-1211783473488-3:329:1:1, started=true }] of
session [ActiveMQSession
{id=ID:gpratibha.site-34447-1211783473488-3:329:1,started=true}] did not
receive a message
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:329:1:1
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:329:-1:1
DEBUG - TransportConnection            - Stopping connection:
/127.0.0.1:58610
DEBUG - TransportConnection            - Stopped connection:
/127.0.0.1:58610
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58611 before
negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58611 after
negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@1faf13d
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:330:-1:1
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:330:1:1
ERROR - DeadLetterChannel              - On delivery attempt: 4 caught:
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
        at
org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
        at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
        at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
        at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
        at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
        at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
        at
org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
        at
org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
        ... 14 more
DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
redelivery
DEBUG - DefaultMessageListenerContainer - Consumer [ActiveMQMessageConsumer
{ value=ID:gpratibha.site-34447-1211783473488-3:330:1:1, started=true }] of
session [ActiveMQSession
{id=ID:gpratibha.site-34447-1211783473488-3:330:1,started=true}] did not
receive a message
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:330:1:1
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:330:-1:1
DEBUG - TransportConnection            - Stopping connection:
/127.0.0.1:58611
DEBUG - TransportConnection            - Stopped connection:
/127.0.0.1:58611
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58612 before
negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58612 after
negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@101deb9
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:331:-1:1
ERROR - DeadLetterChannel              - On delivery attempt: 5 caught:
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
        at
org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
        at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
        at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
        at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
        at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
        at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
        at
org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
        at
org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.messaging.MessagingException: illegal call to sendSync
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:617)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
        ... 14 more
DEBUG - DefaultCamelContext            -
log:org.apache.camel.DeadLetterChannel?level=error converted to endpoint:
Endpoint[log:org.apache.camel.DeadLetterChannel?level=error] by component:
org.apache.camel.component.log.LogComponent@1cd480d
DEBUG - Pipeline                       - Mesage exchange has failed so
breaking out of pipeline: Exchange[Message: <message>Hello world!</message>]
exception: org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync fault: null
DEBUG - Pipeline                       - Mesage exchange has failed so
breaking out of pipeline: Exchange[Message: <message>Hello world!</message>]
exception: org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: illegal call to sendSync fault: null
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:331:1:1
DEBUG - DefaultMessageListenerContainer - Consumer [ActiveMQMessageConsumer
{ value=ID:gpratibha.site-34447-1211783473488-3:331:1:1, started=true }] of
session [ActiveMQSession
{id=ID:gpratibha.site-34447-1211783473488-3:331:1,started=true}] did not
receive a message
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:331:1:1
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-34447-1211783473488-3:331:-1:1
DEBUG - TransportConnection            - Stopping connection:
/127.0.0.1:58612
DEBUG - TransportConnection            - Stopped connection:
/127.0.0.1:58612
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Sending: WireFormatInfo {
version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58613 before
negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp:///127.0.0.1:58613 after
negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - Received WireFormat: WireFormatInfo
{ version=2, properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
before negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG - WireFormatNegotiator           - tcp://localhost/127.0.0.1:61616
after negotiation: OpenWireFormat{version=2, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG - TransportConnection            - Setting up new connection:
org.apache.activemq.broker.jmx.ManagedTransportConnection@41db9a
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:332:-1:1
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-34447-1211783473488-3:332:1:1
DEBUG - DefaultMessageListenerContainer - Consumer [ActiveMQMessageConsumer
{ value=ID:gpratibha.site-34447-1211783473488-3:332:1:1, started=true }] of
session [ActiveMQSession
{id=ID:gpratibha.site-34447-1211783473488-3:332:1,started=true}] did not
receive a message


and it continues

When I don't use listener:

INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive
changed: processing tutorial-camel-sa-1.0-SNAPSHOT.zip ...
DEBUG - AutoDeploymentService          - Unpacked archive
/home/pghogale/apache-servicemix-3.2.1/hotdeploy/tutorial-camel-sa-1.0-SNAPSHOT.zip
to
/home/pghogale/apache-servicemix-3.2.1/data/smx/tmp/tutorial-camel-sa-1.0-SNAPSHOT.0.tmp
DEBUG - AutoDeploymentService          - SA dependencies: [servicemix-http,
servicemix-jms, servicemix-camel]
DEBUG - DeploymentService              - Moving
/home/pghogale/apache-servicemix-3.2.1/data/smx/tmp/tutorial-camel-sa-1.0-SNAPSHOT.0.tmp
to
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install
DEBUG - DeploymentService              - Unpack service unit archive
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install/tutorial-camel-su-1.0-SNAPSHOT.zip
to
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su
DEBUG - CamelJbiComponent              - Deploying service unit
DEBUG - CamelJbiComponent              - Looking for
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml:
true
INFO  - GenericApplicationContext      - Refreshing
org.springframework.context.support.GenericApplicationContext@1f8e336:
display name
[org.springframework.context.support.GenericApplicationContext@1f8e336];
startup date [Mon May 26 12:36:15 IST 2008]; root of context hierarchy
INFO  - GenericApplicationContext      - Bean factory for application
context
[org.springframework.context.support.GenericApplicationContext@1f8e336]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@10d1117
DEBUG - GenericApplicationContext      - 0 beans defined in
org.springframework.context.support.GenericApplicationContext@1f8e336:
display name
[org.springframework.context.support.GenericApplicationContext@1f8e336];
startup date [Mon May 26 12:36:15 IST 2008]; root of context hierarchy
DEBUG - GenericApplicationContext      - Unable to locate MessageSource with
name 'messageSource': using default
[org.springframework.context.support.DelegatingMessageSource@19714cd]
DEBUG - GenericApplicationContext      - Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default
[org.springframework.context.event.SimpleApplicationEventMulticaster@1d6ba37]
INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@10d1117:
defining beans []; root of factory hierarchy
DEBUG - GenericApplicationContext      - Publishing event in context
[org.springframework.context.support.GenericApplicationContext@1f8e336]:
org.springframework.context.event.ContextRefreshedEvent[source=org.springframework.context.support.GenericApplicationContext@1f8e336:
display name
[org.springframework.context.support.GenericApplicationContext@1f8e336];
startup date [Mon May 26 12:36:15 IST 2008]; root of context hierarchy]
INFO  - FileSystemXmlApplicationContext - Refreshing
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada:
display name [camel-context]; startup date [Mon May 26 12:36:15 IST 2008];
parent:
org.springframework.context.support.GenericApplicationContext@1f8e336
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://servicemix.apache.org/soap/1.0=servicemix-soap.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd=camel-spring.xsd,
http://incubator.apache.org/servicemix/schema/core/servicemix-core.xsd=servicemix.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.1.xsd=camel-spring.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0.xsd=camel-spring.xsd,
http://xbean.apache.org/schemas/server=xbean-server.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.0-SNAPSHOT.xsd=camel-spring.xsd,
http://activemq.org/ra/1.0=activemq-ra.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://jencks.org/2.0=jencks.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://activemq.apache.org/camel/schema/spring/camel-spring-1.2.xsd=camel-spring.xsd,
http://activemq.org/config/1.0=activemq.xsd,
http://servicemix.apache.org/config/1.0=servicemix.xsd,
http://servicemix.apache.org/audit/1.0=servicemix-audit.xsd,
http://xbean.apache.org/schemas/classloader=xbean-classloader.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd}
INFO  - XBeanXmlBeanDefinitionReader   - Loading XML bean definitions from
file
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml]
DEBUG - DefaultDocumentLoader          - Using JAXP provider
[org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
DEBUG - XBeanNamespaceHandlerResolver  - Loaded mappings
[{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler,
http://activemq.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
http://activemq.apache.org/camel/schema/spring=org.apache.camel.spring.handler.CamelNamespaceHandler,
http://servicemix.apache.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://xbean.apache.org/schemas/server=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler,
http://servicemix.apache.org/audit/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://servicemix.apache.org/soap/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
http://xbean.apache.org/schemas/classloader=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://jencks.org/2.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://activemq.org/ra/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler,
http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler}]
DEBUG - XBeanBeanDefinitionDocumentReader - Loading bean definitions
DEBUG - XBeanXmlBeanDefinitionReader   - Loaded 2 bean definitions from
location pattern
[//home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/camel-context.xml]
INFO  - FileSystemXmlApplicationContext - Bean factory for application
context
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@2d5f08
DEBUG - FileSystemXmlApplicationContext - 2 beans defined in
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada:
display name [camel-context]; startup date [Mon May 26 12:36:15 IST 2008];
parent:
org.springframework.context.support.GenericApplicationContext@1f8e336
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'camel:beanPostProcessor'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'camel:beanPostProcessor' with merged definition [Root bean: class
[org.apache.camel.spring.CamelBeanPostProcessor]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.camel.spring.CamelBeanPostProcessor] because it is not
cache-safe
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
'camel:beanPostProcessor' to allow for resolving potential circular
references
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'camel'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean 'camel'
with merged definition [Root bean: class
[org.apache.camel.spring.CamelContextFactoryBean]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.camel.spring.CamelContextFactoryBean] because it is not
cache-safe
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean 'camel' to
allow for resolving potential circular references
DEBUG - CamelContextFactoryBean        - Found JAXB created routes: []
DEBUG - ResolverUtil                   - Searching for implementations of
org.apache.camel.builder.RouteBuilder in packages:
[org.apache.servicemix.tutorial.camel]
DEBUG - ResolverUtil                   - Scanning for classes in
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/org/apache/servicemix/tutorial/camel/]
matching criteria: is assignable to RouteBuilder
DEBUG - ResolverUtil                   - Found: [class
org.apache.servicemix.tutorial.camel.MyRouteBuilder]
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.servicemix.tutorial.camel.MyRouteBuilder' with merged definition
[Root bean: class [org.apache.servicemix.tutorial.camel.MyRouteBuilder];
scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
autowireMode=3; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.servicemix.tutorial.camel.MyRouteBuilder] because it is not
cache-safe
INFO  - FileSystemXmlApplicationContext - Bean
'org.apache.servicemix.tutorial.camel.MyRouteBuilder' is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
DEBUG - DefaultCamelContext            - Adding routes from: Routes: [Route[
[From[timer://tutorial?fixedRate=true&period=100000]] -> [Processor[ref: 
null],
To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1],
To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2],
Choice[ [When[ Expression[null] ->
[To[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3]]]]
null]]], Route[
[From[jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer]]
-> [To[log:tutorial-jbi], Processor[ref:  null], To[log:tutorial-string]]]]
routes: []
INFO  - FileSystemXmlApplicationContext - Bean 'camel' is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
INFO  - FileSystemXmlApplicationContext - Bean 'camel' is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
INFO  - FileSystemXmlApplicationContext - Bean 'camel:beanPostProcessor' is
not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
DEBUG - FileSystemXmlApplicationContext - Unable to locate MessageSource
with name 'messageSource': using default
[org.springframework.context.support.DelegatingMessageSource@653566]
DEBUG - FileSystemXmlApplicationContext - Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default
[org.springframework.context.event.SimpleApplicationEventMulticaster@94cd2e]
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'camel'
INFO  - DefaultListableBeanFactory     - Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@2d5f08:
defining beans [camel:beanPostProcessor,camel]; parent:
org.springframework.beans.factory.support.DefaultListableBeanFactory@10d1117
DEBUG - FileSystemXmlApplicationContext - Publishing event in context
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada]:
org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada:
display name [camel-context]; startup date [Mon May 26 12:36:15 IST 2008];
parent:
org.springframework.context.support.GenericApplicationContext@1f8e336]
DEBUG - SpringCamelContext             - Publishing event:
org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada:
display name [camel-context]; startup date [Mon May 26 12:36:15 IST 2008];
parent:
org.springframework.context.support.GenericApplicationContext@1f8e336]
DEBUG - SpringCamelContext             - Starting the CamelContext now that
the ApplicationContext has started
DEBUG - DefaultComponentResolver       - Found component: timer via type:
org.apache.camel.component.timer.TimerComponent via
META-INF/services/org/apache/camel/component/timer
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.camel.component.timer.TimerComponent' with merged definition
[Root bean: class [org.apache.camel.component.timer.TimerComponent];
scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
autowireMode=3; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.camel.component.timer.TimerComponent] because it is not
cache-safe
DEBUG - ResolverUtil                   - Scanning for classes in
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/lib/camel-mail-1.2.0.jar]
matching criteria: annotated with @Converter
DEBUG - ResolverUtil                   - Scanning for classes in
[/home/pghogale/apache-servicemix-3.2.1/data/smx/components/servicemix-camel/version_1/lib/camel-core-1.2.0.jar]
matching criteria: annotated with @Converter
DEBUG - ResolverUtil                   - Scanning for classes in
[/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-camel/tutorial-camel-su/lib/camel-core-1.2.0.jar]
matching criteria: annotated with @Converter
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.converter.NIOConverter
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.converter.IOConverter
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.converter.CollectionConverter
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.component.mail.MailConverters
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.converter.jaxp.XmlConverter
DEBUG - AnnotationTypeConverterLoader  - Loading converter class:
org.apache.camel.converter.ObjectConverter
DEBUG - DefaultCamelContext            -
timer://tutorial?fixedRate=true&period=100000 converted to endpoint:
Endpoint[timer://tutorial?fixedRate=true&period=100000] by component:
org.apache.camel.component.timer.TimerComponent@16a2838
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'jbi'
DEBUG - DefaultComponentResolver       - Found component: jbi in registry:
org.apache.servicemix.camel.CamelJbiComponent@383244
DEBUG - DefaultCamelContext            -
jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1
converted to endpoint:
Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1]
by component: org.apache.servicemix.camel.CamelJbiComponent@383244
DEBUG - DefaultCamelContext            -
jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2
converted to endpoint:
Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2]
by component: org.apache.servicemix.camel.CamelJbiComponent@383244
DEBUG - DefaultCamelContext            -
jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3
converted to endpoint:
Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3]
by component: org.apache.servicemix.camel.CamelJbiComponent@383244
DEBUG - DefaultCamelContext            -
jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer
converted to endpoint:
Endpoint[endpoint:urn:org:apache:servicemix:tutorial:camel:jmsC:consumer] by
component: org.apache.servicemix.camel.CamelJbiComponent@383244
DEBUG - DefaultComponentResolver       - Found component: log via type:
org.apache.camel.component.log.LogComponent via
META-INF/services/org/apache/camel/component/log
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.camel.component.log.LogComponent' with merged definition [Root
bean: class [org.apache.camel.component.log.LogComponent]; scope=prototype;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=3;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.camel.component.log.LogComponent] because it is not cache-safe
DEBUG - DefaultCamelContext            - log:tutorial-jbi converted to
endpoint: Endpoint[log:tutorial-jbi] by component:
org.apache.camel.component.log.LogComponent@768ee6
DEBUG - DefaultCamelContext            - log:tutorial-string converted to
endpoint: Endpoint[log:tutorial-string] by component:
org.apache.camel.component.log.LogComponent@768ee6
DEBUG - DefaultCamelContext            - event:default converted to
endpoint: Endpoint[event:default] by component:
org.apache.camel.component.event.EventComponent@19fdee7
DEBUG - GenericApplicationContext      - Publishing event in context
[org.springframework.context.support.GenericApplicationContext@1f8e336]:
org.springframework.context.event.ContextRefreshedEvent[source=org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5b9ada:
display name [camel-context]; startup date [Mon May 26 12:36:15 IST 2008];
parent:
org.springframework.context.support.GenericApplicationContext@1f8e336]
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'camel:beanPostProcessor'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'camel'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'camel'
DEBUG - DefaultComponentResolver       - Found component: bean via type:
org.apache.camel.component.bean.BeanComponent via
META-INF/services/org/apache/camel/component/bean
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.camel.component.bean.BeanComponent' with merged definition [Root
bean: class [org.apache.camel.component.bean.BeanComponent];
scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true;
autowireMode=3; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.camel.component.bean.BeanComponent] because it is not cache-safe
DEBUG - CamelJbiComponent              - Service unit deployed
ERROR - DeadLetterChannel              - On delivery attempt: 0 caught:
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: Could not find route for exchange:
InOnly[
  id: ID:192.168.2.64-11a2409442d-4:11
  status: Active
  role: provider
  in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
] for service: null and interface: null
org.apache.servicemix.camel.JbiException:
javax.jbi.messaging.MessagingException: Could not find route for exchange:
InOnly[
  id: ID:192.168.2.64-11a2409442d-4:11
  status: Active
  role: provider
  in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
] for service: null and interface: null
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:91)
        at
org.apache.servicemix.camel.JbiEndpoint$1.process(JbiEndpoint.java:46)
        at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
        at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:73)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:136)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:86)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:103)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:87)
        at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
        at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
        at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
        at
org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:100)
        at
org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:52)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.messaging.MessagingException: Could not find route for
exchange: InOnly[
  id: ID:192.168.2.64-11a2409442d-4:11
  status: Active
  role: provider
  in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
] for service: null and interface: null
        at
org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:297)
        at
org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(SecuredBroker.java:81)
        at
org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:830)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:395)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:470)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:442)
        at
org.apache.servicemix.camel.ToJbiProcessor.process(ToJbiProcessor.java:76)
        ... 14 more
DEBUG - DeadLetterChannel              - Sleeping for: 1000 until attempting
redelivery
DEBUG - DeploymentService              - Unpack service unit archive
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/install/http-consumer-su-1.0-SNAPSHOT.zip
to
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su
DEBUG - HttpComponent                  - Deploying service unit
DEBUG - HttpComponent                  - Looking for
/home/pghogale/apache-servicemix-3.2.1/data/smx/service-assemblies/tutorial-camel-sa/version_1/sus/servicemix-http/http-consumer-su/xbean.xml:
true
INFO  - FileSystemXmlApplicationContext - Refreshing
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1c836d9:
display name [xbean]; startup date [Mon May 26 12:36:16 IST 2008]; root of
context hierarchy
DEBUG - PluggableSchemaResolver        - Loading schema mappings from
[META-INF/spring.schemas]
DEBUG - PluggableSchemaResolver        - Loaded schema mappings:
{http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scrip

and it continues.
-- 
View this message in context: http://www.nabble.com/Exception-Listener-in-servicemix-tp15769242p17467738.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exception Listener in servicemix

Posted by pratibhaG <pr...@in2m.com>.
This is my Listener:
package errorhandling;

import javax.jbi.messaging.MessageExchange;

import org.apache.servicemix.jbi.event.ExchangeEvent;
import org.apache.servicemix.jbi.event.ExchangeListener;

public class ExceptionListenerService implements ExchangeListener {

    public void exchangeAccepted(ExchangeEvent event) {
     }

    public void exchangeSent(ExchangeEvent event) {
        MessageExchange me = event.getExchange();
        logger.debug("in listener message is  " + me);
    }
}

package is errorhandling

I have put this entry in conf/log4j.xml.
        <logger name="errorhandling">
	 <level value="DEBUG"/>
	</logger>
	<logger name="errorhandling">
	 <level value="ERROR"/>
	</logger>
	<logger name="errorhandling">
	 <level value="WARN"/>
	</logger>

just for simplicity, I removed the the camel error handler as well as the
bean which was setting message status to ERROR.

So now the flow is very simple, that is every 10 seconds put a message in
different queues as I said in previous message.

Pratibha
-- 
View this message in context: http://www.nabble.com/Exception-Listener-in-servicemix-tp15769242p17467698.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exception Listener in servicemix

Posted by Gert Vanthienen <ge...@skynet.be>.
Prathiba,

Did you set debug logging for your specific listener class package?  The 
root logger configuration you posted still says INFO, so without a 
specific entry for your listener this will be used for it as well.

Not sure why you don't see your messages arrive at the message queues -- 
the Listener is probably doing something to the message itself (e.g. 
reading a non-readable for the first time) but you would expect there to 
be error messages/stacktraces in the log file.  Are you still using a 
Camel deadletterchannel to deviate error messages?

Gert

pratibhaG wrote:
> Here is the route that I tried.
> from("timer://tutorial?fixedRate=true&period=100000")                         
>         .setBody(constant("<message>Hello world!</message>"))                       
>        
> .to("jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1")
>        
> .to("jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2")
>         .choice()
>             .when(body().isEqualTo("<message>Hello world!</message>"))
>            
> .to("jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3");
>  
> All my provider1,provider2 and provider3 are queues. When I don't have any
> listener configured in servicemix, it works fine. Every 10 seconds it puts
> messages in three queues tutorial.camel.queue1, tutorial.camel.queue2,
> tutorial.camel.queue3.
> But when I configure the listener in servicemix. the messages are not sent
> to these queues.
>
> As said earlier the my listener just prints every message and does nothing
> else. Does the listener I am using is altering the route of the message?
>
> Why I am not able to see the debug statement in the listener that is 
> logger.debug("in listener message is  " + me);
>
> Here are the logs:
> When I have listener configured:
>
> INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive
> changed: processing tutorial-camel-sa-1.0-SNAPSHOT.zip ...
> DEBUG - AutoDeploymentService          - Unpacked archive
> /home/pghogale/apache-servicemix-3.2.1/hotdeploy/tutorial-camel-sa-1.0-SNAPSHOT.zip
> to
> /home/pghogale/apache-servicemix-3.2.1/data/smx/tmp/tutorial-camel-sa-1.0-SNAPSHOT.0.tmp
> DEBUG - AutoDeploymentService          - SA dependencies: 
>   


Re: Exception Listener in servicemix

Posted by pratibhaG <pr...@in2m.com>.
Here is the route that I tried.
from("timer://tutorial?fixedRate=true&period=100000")                         
        .setBody(constant("<message>Hello world!</message>"))                       
       
.to("jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP1:provider1")
       
.to("jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP2:provider2")
        .choice()
            .when(body().isEqualTo("<message>Hello world!</message>"))
           
.to("jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsP3:provider3");
 
All my provider1,provider2 and provider3 are queues. When I don't have any
listener configured in servicemix, it works fine. Every 10 seconds it puts
messages in three queues tutorial.camel.queue1, tutorial.camel.queue2,
tutorial.camel.queue3.
But when I configure the listener in servicemix. the messages are not sent
to these queues.

As said earlier the my listener just prints every message and does nothing
else. Does the listener I am using is altering the route of the message?

Why I am not able to see the debug statement in the listener that is 
logger.debug("in listener message is  " + me);

Here are the logs:
When I have listener configured:

INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive
changed: processing tutorial-camel-sa-1.0-SNAPSHOT.zip ...
DEBUG - AutoDeploymentService          - Unpacked archive
/home/pghogale/apache-servicemix-3.2.1/hotdeploy/tutorial-camel-sa-1.0-SNAPSHOT.zip
to
/home/pghogale/apache-servicemix-3.2.1/data/smx/tmp/tutorial-camel-sa-1.0-SNAPSHOT.0.tmp
DEBUG - AutoDeploymentService          - SA dependencies: 
-- 
View this message in context: http://www.nabble.com/Exception-Listener-in-servicemix-tp15769242p17467071.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exception Listener in servicemix

Posted by Gert Vanthienen <ge...@skynet.be>.
Prathiba,

This will print every message that is handled by the ESB on the console, 
both the request and the responses.  So, you're going to see every 
message exchange more than once -- e.g. for an InOut message exchange, 
your listener is going to be invoked every time you see an arrow with 
'send' in the invocation example on 
http://servicemix.apache.org/5-jbi.html. 

Are you having any specific problem with this listener implementation?  
If so, please provide us with error messages or stack traces or something.

Gert

pratibhaG wrote:
> Now I have made my Listener very simple.It is like this:
>
> package errorhandling;
>
> import javax.jbi.messaging.MessageExchange;
> import org.apache.servicemix.jbi.event.ExchangeEvent;
> import org.apache.servicemix.jbi.event.ExchangeListener;
>
> public class ExceptionListenerService implements ExchangeListener {
>
>     public void exchangeAccepted(ExchangeEvent event) {
>        
>     }
>
>     public void exchangeSent(ExchangeEvent event) {
>         MessageExchange me = event.getExchange();
>         logger.debug("in listener message is  " + me);
>     }
> }
>
> This should only print the request message to console right?
> How can I make sure that my listener is listening to all my messages?
>
> -Pratibha
>
>   


Re: Exception Listener in servicemix

Posted by pratibhaG <pr...@in2m.com>.
Now I have made my Listener very simple.It is like this:

package errorhandling;

import javax.jbi.messaging.MessageExchange;
import org.apache.servicemix.jbi.event.ExchangeEvent;
import org.apache.servicemix.jbi.event.ExchangeListener;

public class ExceptionListenerService implements ExchangeListener {

    public void exchangeAccepted(ExchangeEvent event) {
       
    }

    public void exchangeSent(ExchangeEvent event) {
        MessageExchange me = event.getExchange();
        logger.debug("in listener message is  " + me);
    }
}

This should only print the request message to console right?
How can I make sure that my listener is listening to all my messages?

-Pratibha

-- 
View this message in context: http://www.nabble.com/Exception-Listener-in-servicemix-tp15769242p17446672.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exception Listener in servicemix

Posted by Gert Vanthienen <ge...@skynet.be>.
Prathiba,

Your ExceptionListener call setError() regardless of the current state 
of your message exchange.  This causes the MessageExchange status to 
become ERROR.  If you do this on an ACTIVE exchange before it is 
actually sent to the target component, it causes the exception you see 
in the logging (illegal exchange status: error).

You can solve this by adding a test for status in your 
ExceptionListener's exchangeSent() method
if (message.getStatus() == ExchangeStatus.ERROR) {
    //go ahead and replace the existing error message with your own
}

This way, you will only improve the exception message when the 
MessageExchange status already is ERROR (so there is an exception), not 
touching other (ACTIVE/DONE) exchanges.  You might have to do something 
similar later on for cases where the status is DONE if the exchange has 
a 'fault' normalized message.

Does this fix your problem?

Gert



pratibhaG wrote:
> There are  differences between the logs at various places:
> here are the logs which I get after the zip file of my example gets deployed
> in SMX-HOME/hotdeploy 
> (I am using servicemix3.2.1 and it has camel 1.2)
>
> This is what I got when I had no listener:
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@114c8b6 dequeued
> exchange: InOnly[
>   id: ID:192.168.2.64-11a193645af-7:7
>   status: Active
>   role: provider
>   service: {http://esbinaction.com/errorhandling}errorHandlerDSL
>   endpoint: camel192-168-2-64-11a193645af-21-6
>   in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
> ]
> DEBUG - CamelJbiComponent              - Received exchange: status: Active,
> role: provider
> DEBUG - CamelJbiComponent              - Retrieved correlation id:
> ID:192.168.2.64-11a193645af-7:7
> DEBUG - CamelJbiEndpoint               - Received exchange: InOnly[
>   id: ID:192.168.2.64-11a193645af-7:7
>   status: Active
>   role: provider
>   service: {http://esbinaction.com/errorhandling}errorHandlerDSL
>   endpoint: camel192-168-2-64-11a193645af-21-6
>   in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
> ]
> DEBUG - DeliveryChannelImpl            - SendSync
> ID:192.168.2.64-11a193645af-4:29 in DeliveryChannel{servicemix-camel}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - DeliveryChannelImpl            - Waiting for exchange
> ID:192.168.2.64-11a193645af-4:29 (157d6e) to be answered in
> DeliveryChannel{servicemix-camel} from sendSync
> DEBUG - ServerSessionImpl:2            - run loop end
> DEBUG - ServerSessionPoolImpl          - Session returned to pool:
> ServerSessionImpl:2
> DEBUG - ServerSessionImpl:2            - Run finished
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@4eb55e dequeued
> exchange: InOnly[
>   id: ID:192.168.2.64-11a193645af-4:29
>   status: Active
>   role: provider
>   service: {http://esbinaction.com/errorhandling}errorComponent
>   endpoint: errorEndpoint
>   in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
> ]
> DEBUG - BeanComponent                  - Received exchange: status: Active,
> role: provider
> DEBUG - BeanComponent                  - Retrieved correlation id: null
> DEBUG - DeliveryChannelImpl            - Send
> ID:192.168.2.64-11a193645af-4:29 in DeliveryChannel{servicemix-bean}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1655261 dequeued
> exchange: InOnly[
>   id: ID:192.168.2.64-11a193645af-4:29
>   status: Error
>   role: consumer
>   service: {http://esbinaction.com/errorhandling}errorComponent
>   endpoint: errorEndpoint
>   in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
>   error: java.lang.NullPointerException: myexception
> ]
> DEBUG - DeliveryChannelImpl            - Notifying exchange
> ID:192.168.2.64-11a193645af-4:29(157d6e) in
> DeliveryChannel{servicemix-camel} from processInboundSynchronousExchange
> DEBUG - DeliveryChannelImpl            - Notified:
> ID:192.168.2.64-11a193645af-4:29(157d6e) in
> DeliveryChannel{servicemix-camel} from sendSync
> ERROR - DeadLetterChannel              - On delivery attempt: 0 caught:
> java.lang.NullPointerException: myexception
> java.lang.NullPointerException: myexception
>         at
> errorhandling.ErrorComponent.onMessageExchange(ErrorComponent.java:19)
>         at
> org.apache.servicemix.bean.BeanEndpoint.onProviderExchange(BeanEndpoint.java:235)
>         at
> org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:211)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> DEBUG - DeliveryChannelImpl            - SendSync
> ID:192.168.2.64-11a193645af-4:30 in DeliveryChannel{servicemix-camel}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - DeliveryChannelImpl            - Waiting for exchange
> ID:192.168.2.64-11a193645af-4:30 (1038c21) to be answered in
> DeliveryChannel{servicemix-camel} from sendSync
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1e4d02d dequeued
> exchange: InOnly[
>   id: ID:192.168.2.64-11a193645af-4:30
>   status: Active
>   role: provider
>   service: {http://esbinaction.com/errorhandling}errorStorageService
>   endpoint: errorStorageEndpoint
>   in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
> ]
> DEBUG - JmsComponent                   - Received exchange: status: Active,
> role: provider
> DEBUG - JmsComponent                   - Retrieved correlation id: null
> DEBUG - ActiveMQSession                - Sending message:
> ActiveMQTextMessage {commandId = 0, responseRequired = false, messageId =
> ID:gpratibha.site-46546-1211603803334-3:210:1:1:1, originalDestination =
> null, originalTransactionId = null, producerId =
> ID:gpratibha.site-46546-1211603803334-3:210:1:1, destination =
> queue://tutorial.camel.queue3, transactionId = null, expiration = 0,
> timestamp = 1211605045986, arrival = 0, correlationId = null, replyTo =
> null, persistent = true, type = null, priority = 4, groupID = null,
> groupSequence = 0, targetConsumerId = null, compressed = false, userID =
> null, content = null, marshalledProperties = null, dataStructure = null,
> redeliveryCounter = 0, size = 0, properties =
> {MimeContentType=text/xml;charset=UTF-8}, readOnlyProperties = true,
> readOnlyBody = true, droppable = false, text = <?xml version='1.0'
> encoding='UTF-8'?><message>Hello world!</message>}
> DEBUG - JournalMessageStore            - Journalled message add for:
> ID:gpratibha.site-46546-1211603803334-3:210:1:1:1, at: 1:13322597
> DEBUG - queue3                         - No subscriptions registered, will
> not dispatch message at this time.
> DEBUG - DeliveryChannelImpl            - Send
> ID:192.168.2.64-11a193645af-4:30 in DeliveryChannel{servicemix-jms}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@11f4595 dequeued
> exchange: InOnly[
>   id: ID:192.168.2.64-11a193645af-4:30
>   status: Done
>   role: consumer
>   service: {http://esbinaction.com/errorhandling}errorStorageService
>   endpoint: errorStorageEndpoint
>   in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
> ]
> DEBUG - DeliveryChannelImpl            - Notifying exchange
> ID:192.168.2.64-11a193645af-4:30(1038c21) in
> DeliveryChannel{servicemix-camel} from processInboundSynchronousExchange
> DEBUG - DeliveryChannelImpl            - Notified:
> ID:192.168.2.64-11a193645af-4:30(1038c21) in
> DeliveryChannel{servicemix-camel} from sendSync
> DEBUG - DeliveryChannelImpl            - Send
> ID:192.168.2.64-11a193645af-7:7 in DeliveryChannel{servicemix-camel}
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@116b03 dequeued
> exchange: InOnly[
>   id: ID:192.168.2.64-11a193645af-7:7
>   status: Done
>   role: consumer
>   service: {http://esbinaction.com/errorhandling}errorHandlerDSL
>   endpoint: camel192-168-2-64-11a193645af-21-6
>   in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
> ]
> DEBUG - JmsComponent                   - Received exchange: status: Done,
> role: consumer
> DEBUG - JmsComponent                   - Retrieved correlation id:
> ID:192.168.2.64-11a193645af-7:7
>
>
>
>
>
> This what I got when I had listener
>
> DEBUG - ServerSessionPoolImpl          - ServerSession requested.
> DEBUG - AbstractRegion                 - Removing consumer:
> ID:gpratibha.site-60634-1211605839251-3:7:-1:15
> DEBUG - ServerSessionPoolImpl          - Using idle session:
> ServerSessionImpl:1
> DEBUG - ServerSessionImpl:1            - Starting run.
> DEBUG - ServerSessionImpl:1            - Running
> DEBUG - ServerSessionImpl:1            - run loop start
> DEBUG - JmsComponent                   - Created correlation id:
> ID:192.168.2.64-11a1956b739-7:0
> ERROR - MultiplexingConsumerProcessor  - Error while handling jms message
> javax.jbi.messaging.MessagingException: illegal exchange status: error
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:629)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:431)
>         at
> org.apache.servicemix.common.EndpointDeliveryChannel.send(EndpointDeliveryChannel.java:79)
>         at
> org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:93)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> DEBUG - AbstractRegion                 - Adding consumer:
> ID:gpratibha.site-60634-1211605839251-3:40:-1:2
> DEBUG - ServerSessionImpl:1            - run loop end
> DEBUG - ServerSessionPoolImpl          - Session returned to pool:
> ServerSessionImpl:1
> DEBUG - ServerSessionImpl:1            - Run finished
> DEBUG - JournalPersistenceAdapter      - Checkpoint started.
> DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
> DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
> DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
> ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
> ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
> DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
> DEBUG - JDBCPersistenceAdapter         - Cleanup done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint started.
> DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
> DEBUG - JournalPersistenceAdapter      - Checkpoint done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint started.
> DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
> DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
> DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
> ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
> ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
> DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
> DEBUG - JDBCPersistenceAdapter         - Cleanup done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint started.
> DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
> DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
> DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
> ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
> ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
> DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
> DEBUG - JDBCPersistenceAdapter         - Cleanup done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint started.
> DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
> DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
> DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
> ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
> ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
> DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
> DEBUG - JDBCPersistenceAdapter         - Cleanup done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint done.
> DEBUG - Transport                      - Transport failed:
> java.io.EOFException
> java.io.EOFException
>         at java.io.DataInputStream.readInt(DataInputStream.java:358)
>         at
> org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:267)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:156)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
>         at java.lang.Thread.run(Thread.java:595)
> DEBUG - TransportConnection            - Stopping connection:
> /127.0.0.1:35782
> DEBUG - TransportConnection            - Stopped connection:
> /127.0.0.1:35782
> DEBUG - JournalPersistenceAdapter      - Checkpoint started.
> DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
> DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
> DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
> ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
> ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
> DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
> DEBUG - JDBCPersistenceAdapter         - Cleanup done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint started.
> DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
> DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
> DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
> ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
> ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
> DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
> DEBUG - JDBCPersistenceAdapter         - Cleanup done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint started.
> DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
> DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
> DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
> ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
> ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
> DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
> DEBUG - JDBCPersistenceAdapter         - Cleanup done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint started.
> DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
> DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
> DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
> ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
> ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
> DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
> DEBUG - JDBCPersistenceAdapter         - Cleanup done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint started.
> DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
> DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
> DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
> ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
> ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
> DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
> DEBUG - JDBCPersistenceAdapter         - Cleanup done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint started.
> DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
> DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
> DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
> ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
> ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
> DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
> DEBUG - JDBCPersistenceAdapter         - Cleanup done.
> DEBUG - JournalPersistenceAdapter      - Checkpoint done.
>         
>
>
>
> I guess the problem arises here:
> ERROR - MultiplexingConsumerProcessor  - Error while handling jms message
> javax.jbi.messaging.MessagingException: illegal exchange status: error
>         at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:629)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:431)
>         at
> org.apache.servicemix.common.EndpointDeliveryChannel.send(EndpointDeliveryChannel.java:79)
>         at
> org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:93)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
>
> Any Idea?
> -Pratibha
>   


Re: Exception Listener in servicemix

Posted by pratibhaG <pr...@in2m.com>.
There are  differences between the logs at various places:
here are the logs which I get after the zip file of my example gets deployed
in SMX-HOME/hotdeploy 
(I am using servicemix3.2.1 and it has camel 1.2)

This is what I got when I had no listener:
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@114c8b6 dequeued
exchange: InOnly[
  id: ID:192.168.2.64-11a193645af-7:7
  status: Active
  role: provider
  service: {http://esbinaction.com/errorhandling}errorHandlerDSL
  endpoint: camel192-168-2-64-11a193645af-21-6
  in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
]
DEBUG - CamelJbiComponent              - Received exchange: status: Active,
role: provider
DEBUG - CamelJbiComponent              - Retrieved correlation id:
ID:192.168.2.64-11a193645af-7:7
DEBUG - CamelJbiEndpoint               - Received exchange: InOnly[
  id: ID:192.168.2.64-11a193645af-7:7
  status: Active
  role: provider
  service: {http://esbinaction.com/errorhandling}errorHandlerDSL
  endpoint: camel192-168-2-64-11a193645af-21-6
  in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
]
DEBUG - DeliveryChannelImpl            - SendSync
ID:192.168.2.64-11a193645af-4:29 in DeliveryChannel{servicemix-camel}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - DeliveryChannelImpl            - Waiting for exchange
ID:192.168.2.64-11a193645af-4:29 (157d6e) to be answered in
DeliveryChannel{servicemix-camel} from sendSync
DEBUG - ServerSessionImpl:2            - run loop end
DEBUG - ServerSessionPoolImpl          - Session returned to pool:
ServerSessionImpl:2
DEBUG - ServerSessionImpl:2            - Run finished
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@4eb55e dequeued
exchange: InOnly[
  id: ID:192.168.2.64-11a193645af-4:29
  status: Active
  role: provider
  service: {http://esbinaction.com/errorhandling}errorComponent
  endpoint: errorEndpoint
  in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
]
DEBUG - BeanComponent                  - Received exchange: status: Active,
role: provider
DEBUG - BeanComponent                  - Retrieved correlation id: null
DEBUG - DeliveryChannelImpl            - Send
ID:192.168.2.64-11a193645af-4:29 in DeliveryChannel{servicemix-bean}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1655261 dequeued
exchange: InOnly[
  id: ID:192.168.2.64-11a193645af-4:29
  status: Error
  role: consumer
  service: {http://esbinaction.com/errorhandling}errorComponent
  endpoint: errorEndpoint
  in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
  error: java.lang.NullPointerException: myexception
]
DEBUG - DeliveryChannelImpl            - Notifying exchange
ID:192.168.2.64-11a193645af-4:29(157d6e) in
DeliveryChannel{servicemix-camel} from processInboundSynchronousExchange
DEBUG - DeliveryChannelImpl            - Notified:
ID:192.168.2.64-11a193645af-4:29(157d6e) in
DeliveryChannel{servicemix-camel} from sendSync
ERROR - DeadLetterChannel              - On delivery attempt: 0 caught:
java.lang.NullPointerException: myexception
java.lang.NullPointerException: myexception
        at
errorhandling.ErrorComponent.onMessageExchange(ErrorComponent.java:19)
        at
org.apache.servicemix.bean.BeanEndpoint.onProviderExchange(BeanEndpoint.java:235)
        at
org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:211)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
DEBUG - DeliveryChannelImpl            - SendSync
ID:192.168.2.64-11a193645af-4:30 in DeliveryChannel{servicemix-camel}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - DeliveryChannelImpl            - Waiting for exchange
ID:192.168.2.64-11a193645af-4:30 (1038c21) to be answered in
DeliveryChannel{servicemix-camel} from sendSync
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1e4d02d dequeued
exchange: InOnly[
  id: ID:192.168.2.64-11a193645af-4:30
  status: Active
  role: provider
  service: {http://esbinaction.com/errorhandling}errorStorageService
  endpoint: errorStorageEndpoint
  in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
]
DEBUG - JmsComponent                   - Received exchange: status: Active,
role: provider
DEBUG - JmsComponent                   - Retrieved correlation id: null
DEBUG - ActiveMQSession                - Sending message:
ActiveMQTextMessage {commandId = 0, responseRequired = false, messageId =
ID:gpratibha.site-46546-1211603803334-3:210:1:1:1, originalDestination =
null, originalTransactionId = null, producerId =
ID:gpratibha.site-46546-1211603803334-3:210:1:1, destination =
queue://tutorial.camel.queue3, transactionId = null, expiration = 0,
timestamp = 1211605045986, arrival = 0, correlationId = null, replyTo =
null, persistent = true, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = null, marshalledProperties = null, dataStructure = null,
redeliveryCounter = 0, size = 0, properties =
{MimeContentType=text/xml;charset=UTF-8}, readOnlyProperties = true,
readOnlyBody = true, droppable = false, text = <?xml version='1.0'
encoding='UTF-8'?><message>Hello world!</message>}
DEBUG - JournalMessageStore            - Journalled message add for:
ID:gpratibha.site-46546-1211603803334-3:210:1:1:1, at: 1:13322597
DEBUG - queue3                         - No subscriptions registered, will
not dispatch message at this time.
DEBUG - DeliveryChannelImpl            - Send
ID:192.168.2.64-11a193645af-4:30 in DeliveryChannel{servicemix-jms}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@11f4595 dequeued
exchange: InOnly[
  id: ID:192.168.2.64-11a193645af-4:30
  status: Done
  role: consumer
  service: {http://esbinaction.com/errorhandling}errorStorageService
  endpoint: errorStorageEndpoint
  in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
]
DEBUG - DeliveryChannelImpl            - Notifying exchange
ID:192.168.2.64-11a193645af-4:30(1038c21) in
DeliveryChannel{servicemix-camel} from processInboundSynchronousExchange
DEBUG - DeliveryChannelImpl            - Notified:
ID:192.168.2.64-11a193645af-4:30(1038c21) in
DeliveryChannel{servicemix-camel} from sendSync
DEBUG - DeliveryChannelImpl            - Send
ID:192.168.2.64-11a193645af-7:7 in DeliveryChannel{servicemix-camel}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@116b03 dequeued
exchange: InOnly[
  id: ID:192.168.2.64-11a193645af-7:7
  status: Done
  role: consumer
  service: {http://esbinaction.com/errorhandling}errorHandlerDSL
  endpoint: camel192-168-2-64-11a193645af-21-6
  in: <?xml version="1.0" encoding="UTF-8"?><message>Hello world!</message>
]
DEBUG - JmsComponent                   - Received exchange: status: Done,
role: consumer
DEBUG - JmsComponent                   - Retrieved correlation id:
ID:192.168.2.64-11a193645af-7:7





This what I got when I had listener

DEBUG - ServerSessionPoolImpl          - ServerSession requested.
DEBUG - AbstractRegion                 - Removing consumer:
ID:gpratibha.site-60634-1211605839251-3:7:-1:15
DEBUG - ServerSessionPoolImpl          - Using idle session:
ServerSessionImpl:1
DEBUG - ServerSessionImpl:1            - Starting run.
DEBUG - ServerSessionImpl:1            - Running
DEBUG - ServerSessionImpl:1            - run loop start
DEBUG - JmsComponent                   - Created correlation id:
ID:192.168.2.64-11a1956b739-7:0
ERROR - MultiplexingConsumerProcessor  - Error while handling jms message
javax.jbi.messaging.MessagingException: illegal exchange status: error
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:629)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:431)
        at
org.apache.servicemix.common.EndpointDeliveryChannel.send(EndpointDeliveryChannel.java:79)
        at
org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:93)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
DEBUG - AbstractRegion                 - Adding consumer:
ID:gpratibha.site-60634-1211605839251-3:40:-1:2
DEBUG - ServerSessionImpl:1            - run loop end
DEBUG - ServerSessionPoolImpl          - Session returned to pool:
ServerSessionImpl:1
DEBUG - ServerSessionImpl:1            - Run finished
DEBUG - JournalPersistenceAdapter      - Checkpoint started.
DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
DEBUG - JDBCPersistenceAdapter         - Cleanup done.
DEBUG - JournalPersistenceAdapter      - Checkpoint done.
DEBUG - JournalPersistenceAdapter      - Checkpoint started.
DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
DEBUG - JournalPersistenceAdapter      - Checkpoint done.
DEBUG - JournalPersistenceAdapter      - Checkpoint started.
DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
DEBUG - JDBCPersistenceAdapter         - Cleanup done.
DEBUG - JournalPersistenceAdapter      - Checkpoint done.
DEBUG - JournalPersistenceAdapter      - Checkpoint started.
DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
DEBUG - JDBCPersistenceAdapter         - Cleanup done.
DEBUG - JournalPersistenceAdapter      - Checkpoint done.
DEBUG - JournalPersistenceAdapter      - Checkpoint started.
DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
DEBUG - JDBCPersistenceAdapter         - Cleanup done.
DEBUG - JournalPersistenceAdapter      - Checkpoint done.
DEBUG - Transport                      - Transport failed:
java.io.EOFException
java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:358)
        at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:267)
        at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:156)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
        at java.lang.Thread.run(Thread.java:595)
DEBUG - TransportConnection            - Stopping connection:
/127.0.0.1:35782
DEBUG - TransportConnection            - Stopped connection:
/127.0.0.1:35782
DEBUG - JournalPersistenceAdapter      - Checkpoint started.
DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
DEBUG - JDBCPersistenceAdapter         - Cleanup done.
DEBUG - JournalPersistenceAdapter      - Checkpoint done.
DEBUG - JournalPersistenceAdapter      - Checkpoint started.
DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
DEBUG - JDBCPersistenceAdapter         - Cleanup done.
DEBUG - JournalPersistenceAdapter      - Checkpoint done.
DEBUG - JournalPersistenceAdapter      - Checkpoint started.
DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
DEBUG - JDBCPersistenceAdapter         - Cleanup done.
DEBUG - JournalPersistenceAdapter      - Checkpoint done.
DEBUG - JournalPersistenceAdapter      - Checkpoint started.
DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
DEBUG - JDBCPersistenceAdapter         - Cleanup done.
DEBUG - JournalPersistenceAdapter      - Checkpoint done.
DEBUG - JournalPersistenceAdapter      - Checkpoint started.
DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
DEBUG - JDBCPersistenceAdapter         - Cleanup done.
DEBUG - JournalPersistenceAdapter      - Checkpoint done.
DEBUG - JournalPersistenceAdapter      - Checkpoint started.
DEBUG - JournalPersistenceAdapter      - Marking journal at: 1:13323221
DEBUG - JDBCPersistenceAdapter         - Cleaning up old messages.
DEBUG - DefaultJDBCAdapter             - Executing SQL: DELETE FROM
ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
DEBUG - DefaultJDBCAdapter             - Deleted 0 old message(s).
DEBUG - JDBCPersistenceAdapter         - Cleanup done.
DEBUG - JournalPersistenceAdapter      - Checkpoint done.
        



I guess the problem arises here:
ERROR - MultiplexingConsumerProcessor  - Error while handling jms message
javax.jbi.messaging.MessagingException: illegal exchange status: error
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:629)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:431)
        at
org.apache.servicemix.common.EndpointDeliveryChannel.send(EndpointDeliveryChannel.java:79)
        at
org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:93)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)

Any Idea?
-Pratibha
-- 
View this message in context: http://www.nabble.com/Exception-Listener-in-servicemix-tp15769242p17444737.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exception Listener in servicemix

Posted by Bruce Snyder <br...@gmail.com>.
On Fri, May 23, 2008 at 8:03 AM, pratibhaG <pr...@in2m.com> wrote:
>
> This is what my log4j.xml is
>
> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
> debug="false">
>
>    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
>
>        <layout class="org.apache.log4j.PatternLayout">
>
>        </layout>
>    </appender>
>
>    <appender name="FILE" class="org.apache.log4j.FileAppender">
>
>
>        <layout class="org.apache.log4j.PatternLayout">
>
>        </layout>
>    </appender>
>
>    <logger name="org.apache">
>        <level value="WARN"/>
>    </logger>
>    <logger name="org.springframework">
>        <level value="WARN"/>
>    </logger>
>    <logger name="org.jencks">
>        <level value="WARN"/>
>    </logger>
>    <logger name="org.apache.activemq">
>        <level value="WARN"/>
>    </logger>
>    <logger name="org.apache.activemq.transport.discovery">
>        <level value="ERROR"/>
>    </logger>
>    <logger name="org.apache.servicemix">
>        <!-- To enable debug logging, replace the INFO by DEBUG -->
>        <level value="DEBUG"/>
>    </logger>
>    <logger name="org.apache.servicemix.jbi.config">
>        <level value="WARN"/>
>    </logger>
>    <logger name="org.apache.servicemix.jbi.deployment">
>        <level value="WARN"/>
>    </logger>
>        <logger name="org.apache.servicemix.jbi.messaging">
>         <!-- To enable debug logging, replace the INFO by DEBUG -->
>         <level value="DEBUG"/>
>        </logger>
>        <logger name="org.apache.servicemix.jms">
>         <!-- To enable debug logging, replace the INFO by DEBUG -->
>         <level value="DEBUG"/>
>        </logger>
>        <logger name="org.apache.servicemix.jbi.nmr.flow">
>         <!-- To enable debug logging, replace the INFO by DEBUG -->
>         <level value="DEBUG"/>
>        </logger>
>        <logger name="errorhandling">
>         <level value="DEBUG"/>
>        </logger>
>            <root>
>        <level value="INFO"/>
>        <appender-ref ref="CONSOLE"/>
>        <appender-ref ref="FILE"/>
>    </root>
>
> </log4j:configuration>
>
> should I something more?

See the FAQ about enabling debug level logging:

http://servicemix.apache.org/how-do-i-change-the-logging.html

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: Exception Listener in servicemix

Posted by pratibhaG <pr...@in2m.com>.
This is what my log4j.xml is 

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="false">

    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
        
        <layout class="org.apache.log4j.PatternLayout">
            
        </layout>
    </appender>

    <appender name="FILE" class="org.apache.log4j.FileAppender">
        
        
        <layout class="org.apache.log4j.PatternLayout">
            
        </layout>
    </appender>

    <logger name="org.apache">
        <level value="WARN"/>
    </logger>
    <logger name="org.springframework">
        <level value="WARN"/>
    </logger>
    <logger name="org.jencks">
        <level value="WARN"/>
    </logger>
    <logger name="org.apache.activemq">
        <level value="WARN"/>
    </logger>
    <logger name="org.apache.activemq.transport.discovery">
        <level value="ERROR"/>
    </logger>
    <logger name="org.apache.servicemix">
        <!-- To enable debug logging, replace the INFO by DEBUG -->
        <level value="DEBUG"/>
    </logger>
    <logger name="org.apache.servicemix.jbi.config">
        <level value="WARN"/>
    </logger>
    <logger name="org.apache.servicemix.jbi.deployment">
        <level value="WARN"/>
    </logger>
	<logger name="org.apache.servicemix.jbi.messaging">
	 <!-- To enable debug logging, replace the INFO by DEBUG -->
	 <level value="DEBUG"/>
	</logger>
	<logger name="org.apache.servicemix.jms">
	 <!-- To enable debug logging, replace the INFO by DEBUG -->
	 <level value="DEBUG"/>
	</logger>
	<logger name="org.apache.servicemix.jbi.nmr.flow">
	 <!-- To enable debug logging, replace the INFO by DEBUG -->
	 <level value="DEBUG"/>
	</logger>
	<logger name="errorhandling">
	 <level value="DEBUG"/>
	</logger>
	    <root>
        <level value="INFO"/>
        <appender-ref ref="CONSOLE"/>
        <appender-ref ref="FILE"/>
    </root>
	
</log4j:configuration>

should I something more? 


-- 
View this message in context: http://www.nabble.com/Exception-Listener-in-servicemix-tp15769242p17426346.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exception Listener in servicemix

Posted by Gert Vanthienen <ge...@skynet.be>.
Prathiba,

Could you try setting the log level for ServiceMix to DEBUG?  This will 
allow you to see which MessageExchanges are being handled by the ESB 
(together with their status ACTIVE/ERROR/DONE) so you can compare what's 
different when you add the listener.  Looking at your code, it only 
seems to replace the MessageExchange's error with a custom Exception, so 
that should be OK I guess...

Gert

pratibhaG wrote:
> I included the listener like this
> <sm:services>
>       <sm:statistics statsInterval="10" dumpStats="true" />
> </sm:services>
> <sm:listeners>
>         <bean id="errorBean" class="errorhandling.ExceptionListenerService"
> />
> </sm:listeners>
>
> and I tried this example:
> example: take a message from queue tutorial.camel.queue13 and pass it to a
> bean. The bean sets the message status to error. As the status is error the
> message is put in queue tutorial.camel.queue1
> here are some of the files of the example:
> jms-su xbean.xml
> <beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
>        xmlns:esb="http://esbinaction.com/errorhandling">
>
>   <jms:endpoint service="esb:errorHandlerDSL"
>        endpoint="errorEndpoint"
>        role="consumer"
>        destinationStyle="queue"
>        jmsProviderDestinationName="tutorial.camel.queue13"
>        defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
>        connectionFactory="#connectionFactory"/>
>       
>   <jms:endpoint service="esb:errorStorageService"
>        endpoint="errorStorageEndpoint"
>        role="provider"
>        destinationStyle="queue"
>        jmsProviderDestinationName="tutorial.camel.queue1"
>        defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
>        connectionFactory="#connectionFactory"/>
>  
>   <bean id="connectionFactory"
> class="org.apache.activemq.ActiveMQConnectionFactory">
>     <property name="brokerURL" value="tcp://localhost:61616" />
>   </bean>
>
> </beans>
>
> camel route builder java file
> package errorhandling.camel;
>
> import org.apache.camel.builder.RouteBuilder;
>
> public class CamelErrorHandler extends RouteBuilder {
>        
>         private final static String NAMESPACE =
> "http://esbinaction.com/errorhandling";
>         private final static String SERVICE_IN = "jbi:service:" +
>                 NAMESPACE + "/errorHandlerDSL";
>         private final static String BEAN_IN = "jbi:service:" +
>                 NAMESPACE + "/errorComponent";
>         private final static String ERROR_IN = "jbi:service:" +
>                 NAMESPACE + "/errorStorageService";
>        
>         public void configure() {
>            
> /*errorHandler(deadLetterChannel(ERROR_IN).maximumRedeliveries(2));
>            from(SERVICE_IN).to(BEAN_IN);*/
>           
> from(SERVICE_IN).errorHandler(deadLetterChannel(ERROR_IN).maximumRedeliveries(1)).to(BEAN_IN);
>             //from(SERVICE_IN).errorHandler(noErrorHandler).to(BEAN_IN);
>         }
> }
>
>
> Now if I don't put
> <sm:listeners>
>         <bean id="errorBean" class="errorhandling.ExceptionListenerService"
> />
> </sm:listeners>
>
> in conf/servicemix.xml then the example works fine. That is the message is
> consumed from tutorial.camel.queue13 and is routed to tutorial.camel.queue1
> as i am setting message status to error in my bean.
>
> But if I put
> <sm:listeners>
>         <bean id="errorBean" class="errorhandling.ExceptionListenerService"
> />
> </sm:listeners>
>
> in conf/servicemix.xml then the example does not work as expected.  That is
> the message is consumed from tutorial.camel.queue13 but not routed to
> tutorial.camel.queue1 even when  i am setting message status to error in my
> bean.
>
> Is it the same way the listener is supposed to behave or am I missing
> something.
>
> Another thing is that I never saw the message "The following error was
> caused by service"  which is created in my listener. Where this message will
> be shown?
>
> -Pratibha
>
>
>
>   


Re: Exception Listener in servicemix

Posted by pratibhaG <pr...@in2m.com>.
I included the listener like this
<sm:services>
      <sm:statistics statsInterval="10" dumpStats="true" />
</sm:services>
<sm:listeners>
        <bean id="errorBean" class="errorhandling.ExceptionListenerService"
/>
</sm:listeners>

and I tried this example:
example: take a message from queue tutorial.camel.queue13 and pass it to a
bean. The bean sets the message status to error. As the status is error the
message is put in queue tutorial.camel.queue1
here are some of the files of the example:
jms-su xbean.xml
<beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
       xmlns:esb="http://esbinaction.com/errorhandling">

  <jms:endpoint service="esb:errorHandlerDSL"
       endpoint="errorEndpoint"
       role="consumer"
       destinationStyle="queue"
       jmsProviderDestinationName="tutorial.camel.queue13"
       defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
       connectionFactory="#connectionFactory"/>
      
  <jms:endpoint service="esb:errorStorageService"
       endpoint="errorStorageEndpoint"
       role="provider"
       destinationStyle="queue"
       jmsProviderDestinationName="tutorial.camel.queue1"
       defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
       connectionFactory="#connectionFactory"/>
 
  <bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL" value="tcp://localhost:61616" />
  </bean>

</beans>

camel route builder java file
package errorhandling.camel;

import org.apache.camel.builder.RouteBuilder;

public class CamelErrorHandler extends RouteBuilder {
       
        private final static String NAMESPACE =
"http://esbinaction.com/errorhandling";
        private final static String SERVICE_IN = "jbi:service:" +
                NAMESPACE + "/errorHandlerDSL";
        private final static String BEAN_IN = "jbi:service:" +
                NAMESPACE + "/errorComponent";
        private final static String ERROR_IN = "jbi:service:" +
                NAMESPACE + "/errorStorageService";
       
        public void configure() {
           
/*errorHandler(deadLetterChannel(ERROR_IN).maximumRedeliveries(2));
           from(SERVICE_IN).to(BEAN_IN);*/
          
from(SERVICE_IN).errorHandler(deadLetterChannel(ERROR_IN).maximumRedeliveries(1)).to(BEAN_IN);
            //from(SERVICE_IN).errorHandler(noErrorHandler).to(BEAN_IN);
        }
}


Now if I don't put
<sm:listeners>
        <bean id="errorBean" class="errorhandling.ExceptionListenerService"
/>
</sm:listeners>

in conf/servicemix.xml then the example works fine. That is the message is
consumed from tutorial.camel.queue13 and is routed to tutorial.camel.queue1
as i am setting message status to error in my bean.

But if I put
<sm:listeners>
        <bean id="errorBean" class="errorhandling.ExceptionListenerService"
/>
</sm:listeners>

in conf/servicemix.xml then the example does not work as expected.  That is
the message is consumed from tutorial.camel.queue13 but not routed to
tutorial.camel.queue1 even when  i am setting message status to error in my
bean.

Is it the same way the listener is supposed to behave or am I missing
something.

Another thing is that I never saw the message "The following error was
caused by service"  which is created in my listener. Where this message will
be shown?

-Pratibha



-- 
View this message in context: http://www.nabble.com/Exception-Listener-in-servicemix-tp15769242p17397607.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exception Listener in servicemix

Posted by Gert Vanthienen <ge...@skynet.be>.
Prathiba,

Right you are, my mistake... 
Adding it to <sm:services/> only works if you your listener inherits  
from BaseSystemService -- for your use case you can do this by extending 
AbstractAuditor.
If you want to register a plain listener, as you are trying to do, you 
can add it to an <sm:listeners/> element (on the same level as where the 
<sm:services/> are) instead.

Hth,

Gert

pratibhaG wrote:
> Followed exactly the same thing that you suggested,
>
> 1)This is what I added in conf/servicemix.xml
> <sm:services>
>       <sm:statistics statsInterval="10" dumpStats="true" />
> 	<bean id="errorBean" class="errorhandling.ExceptionListenerService" />
> </sm:services>
>
> here <sm:statistics statsInterval="10" dumpStats="true" /> was already
> there.
>  I added <bean id="errorBean" class="errorhandling.ExceptionListenerService"
> />
>
> 2)created a jar file and put it in lib/optional
>
> 3)Tried to restart servicemix 
> I think there is some type mismatch. It is expecting
> org.apache.servicemix.jbi.management.BaseSystemService where as my
> servicetype is errorhandling.ExceptionListenerService. How can I get rid of
> it? suggestions?
>
> here is the error:
> Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
> INFO  - ConnectorServerFactoryBean     - JMX connector available at:
> service:jmx:rmi:///jndi/rmi://localhost:1077/jmxrmi
> Caught: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'jbi' defined in class path resource
> [servicemix.xml]: Error setting property values; nested exception is
> org.springframework.beans.PropertyBatchUpdateException; nested
> PropertyAccessExceptions (1) are:
> PropertyAccessException 1: org.springframework.beans.TypeMismatchException:
> Failed to convert property value of type [java.util.ArrayList] to required
> type [org.apache.servicemix.jbi.management.BaseSystemService[]] for property
> 'services'; nested exception is java.lang.IllegalArgumentException: Cannot
> convert value of type [errorhandling.ExceptionListenerService] to required
> type [org.apache.servicemix.jbi.management.BaseSystemService] for property
> 'services[1]': no matching editors or conversion strategy found
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'jbi' defined in class path resource [servicemix.xml]: Error
> setting property values; nested exception is
> org.springframework.beans.PropertyBatchUpdateException; nested
> PropertyAccessExceptions (1) are:
> PropertyAccessException 1: org.springframework.beans.TypeMismatchException:
> Failed to convert property value of type [java.util.ArrayList] to required
> type [org.apache.servicemix.jbi.management.BaseSystemService[]] for property
> 'services'; nested exception is java.lang.IllegalArgumentException: Cannot
> convert value of type [errorhandling.ExceptionListenerService] to required
> type [org.apache.servicemix.jbi.management.BaseSystemService] for property
> 'services[1]': no matching editors or conversion strategy found
> Caused by: org.springframework.beans.PropertyBatchUpdateException; nested
> PropertyAccessException details (1) are:
> PropertyAccessException 1:
> org.springframework.beans.TypeMismatchException: Failed to convert property
> value of type [java.util.ArrayList] to required type
> [org.apache.servicemix.jbi.management.BaseSystemService[]] for property
> 'services'; nested exception is java.lang.IllegalArgumentException: Cannot
> convert value of type [errorhandling.ExceptionListenerService] to required
> type [org.apache.servicemix.jbi.management.BaseSystemService] for property
> 'services[1]': no matching editors or conversion strategy found
> Caused by: java.lang.IllegalArgumentException: Cannot convert value of type
> [errorhandling.ExceptionListenerService] to required type
> [org.apache.servicemix.jbi.management.BaseSystemService] for property
> 'services[1]': no matching editors or conversion strategy found
>         at
> org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
>         at
> org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:124)
>         at
> org.springframework.beans.TypeConverterDelegate.convertToTypedArray(TypeConverterDelegate.java:337)
>         at
> org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:200)
>         at
> org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)
>         at
> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:815)
>         at
> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:645)
>         at
> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
>         at
> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1126)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>         at
> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
>         at
> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
>         at org.apache.servicemix.Main.main(Main.java:54)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
>
>
>
>   


Re: Exception Listener in servicemix

Posted by pratibhaG <pr...@in2m.com>.
Followed exactly the same thing that you suggested,

1)This is what I added in conf/servicemix.xml
<sm:services>
      <sm:statistics statsInterval="10" dumpStats="true" />
	<bean id="errorBean" class="errorhandling.ExceptionListenerService" />
</sm:services>

here <sm:statistics statsInterval="10" dumpStats="true" /> was already
there.
 I added <bean id="errorBean" class="errorhandling.ExceptionListenerService"
/>

2)created a jar file and put it in lib/optional

3)Tried to restart servicemix 
I think there is some type mismatch. It is expecting
org.apache.servicemix.jbi.management.BaseSystemService where as my
servicetype is errorhandling.ExceptionListenerService. How can I get rid of
it? suggestions?

here is the error:
Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
INFO  - ConnectorServerFactoryBean     - JMX connector available at:
service:jmx:rmi:///jndi/rmi://localhost:1077/jmxrmi
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jbi' defined in class path resource
[servicemix.xml]: Error setting property values; nested exception is
org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.util.ArrayList] to required
type [org.apache.servicemix.jbi.management.BaseSystemService[]] for property
'services'; nested exception is java.lang.IllegalArgumentException: Cannot
convert value of type [errorhandling.ExceptionListenerService] to required
type [org.apache.servicemix.jbi.management.BaseSystemService] for property
'services[1]': no matching editors or conversion strategy found
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jbi' defined in class path resource [servicemix.xml]: Error
setting property values; nested exception is
org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.util.ArrayList] to required
type [org.apache.servicemix.jbi.management.BaseSystemService[]] for property
'services'; nested exception is java.lang.IllegalArgumentException: Cannot
convert value of type [errorhandling.ExceptionListenerService] to required
type [org.apache.servicemix.jbi.management.BaseSystemService] for property
'services[1]': no matching editors or conversion strategy found
Caused by: org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessException details (1) are:
PropertyAccessException 1:
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.util.ArrayList] to required type
[org.apache.servicemix.jbi.management.BaseSystemService[]] for property
'services'; nested exception is java.lang.IllegalArgumentException: Cannot
convert value of type [errorhandling.ExceptionListenerService] to required
type [org.apache.servicemix.jbi.management.BaseSystemService] for property
'services[1]': no matching editors or conversion strategy found
Caused by: java.lang.IllegalArgumentException: Cannot convert value of type
[errorhandling.ExceptionListenerService] to required type
[org.apache.servicemix.jbi.management.BaseSystemService] for property
'services[1]': no matching editors or conversion strategy found
        at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
        at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:124)
        at
org.springframework.beans.TypeConverterDelegate.convertToTypedArray(TypeConverterDelegate.java:337)
        at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:200)
        at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:815)
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:645)
        at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
        at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1126)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
        at org.apache.servicemix.Main.main(Main.java:54)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)



-- 
View this message in context: http://www.nabble.com/Exception-Listener-in-servicemix-tp15769242p17364140.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exception Listener in servicemix

Posted by Gert Vanthienen <ge...@skynet.be>.
Pratibha,

You can not deploy this listener to the servicemix-bean component, but 
you should add it directly to the ServiceMix configuration:
- add the JAR containing this class file to lib/optional in your 
ServiceMix installation directory
- add the <bean id="errorBean" 
class="errorhandling.ExceptionListenerService" /> to the <sm:services/> 
section in conf/servicemix.xml

Gert

P.S. Just a friendly remark: there is no need to ask the same question 
with several posts -- we will always try to answer questions as soon as 
we can and having the same question in multiple posts only makes it more 
difficult to keep track of what has been answered and what hasn't.

pratibhaG wrote:
> Bruce,
>
> May i request you to please explain this:
> "To use this with ServiceMIx, you simply register it as a service in
> the servicemix.xml file using the XBean element in the class level
> XBean annotation (exceptionListenerService). "
>
> Can I create a servicemix-bean component and write something like this in
> the xbean.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns:bean="http://servicemix.apache.org/bean/1.0"
>            xmlns:esb="http://esbinaction.com/errorhandling">
>
>         <bean:endpoint service="esb:errorComponent"
>                 endpoint="errorEndpoint"
>                 bean="#errorBean"/>
>  
>         <bean id="errorBean" class="errorhandling.ExceptionListenerService"
> />
>
> </beans>
>
> Then the code that you have written can I use like this. I am not sure about
> configuring your code like this, that is putting it in a bean. would it work
> if I write something like this. Here the code I have copied from yours only
> but I am not sure where to put it.
>
> package errorhandling;
>
> import javax.jbi.messaging.MessageExchange;
>
> import org.apache.servicemix.jbi.event.ExchangeEvent;
> import org.apache.servicemix.jbi.event.ExchangeListener;
>
> /**
>  * An {@link org.apache.servicemix.jbi.event.ExchangeListener}
> implementation
>  * to handle exception customization.
>  *
>  * @org.apache.xbean.XBean element="exceptionListenerService"
>  * @version $Revision$
>  * @author bsnyder
>  */
> public class ExceptionListenerService implements ExchangeListener {
>
>     public void exchangeAccepted(ExchangeEvent event) {
>         // TODO Auto-generated method stub
>
>     }
>
>     public void exchangeSent(ExchangeEvent event) {
>         MessageExchange me = event.getExchange();
>         Exception exception = null;
>
>         if (me.getError() != null) {
>             exception = analyzeException(me);
>         }
>
>         me.setError(exception);
>     }
>
>     /**
>      * This method abstracts any special exception handling behavior.
>      *
>      * @TODO Abstract this further using pluggable strategies to hold the
>      * custom functionality. Then we just stuff the strategies that are
>      * named in the servicemix.xml config into an array and just walk the
>      * array, invoking the execute method on each strategy.
>      *
>      * @param error The exception that was thrown
>      * @param endpointName The name of the endpoint that threw the exception
>      * @return
>      */
>     private Exception analyzeException(MessageExchange me) {
>         Exception error = me.getError();
>         String serviceName = me.getEndpoint().getServiceName().toString();
>         String endpointName = me.getEndpoint().getEndpointName();
>         String errorMessage = error.getMessage();
>
>         // Add calls to custom processing here
>
>         StringBuilder newErrorMessage =
>             new StringBuilder("The following error was caused by service:
> [");
>         newErrorMessage.append(serviceName != null ? serviceName : "null");
>         newErrorMessage.append("] and endpoint: [");
>         newErrorMessage.append(endpointName != null ? endpointName :
> "null");
>         newErrorMessage.append("] ");
>         newErrorMessage.append("Original error: ");
>         newErrorMessage.append(errorMessage);
>
>         return new Exception(newErrorMessage.toString(), error);
>     }
>
> }
>
> I don't use servicemix.xml file to start my application on bus. I create a
> zip file of application and put it inside SMX-HOME/hotdeploy. Please........
> Help me to use your solution.
>
> Thanks,
> Pratibha
>   


Re: Exception Listener in servicemix

Posted by pratibhaG <pr...@in2m.com>.
Bruce,

May i request you to please explain this:
"To use this with ServiceMIx, you simply register it as a service in
the servicemix.xml file using the XBean element in the class level
XBean annotation (exceptionListenerService). "

Can I create a servicemix-bean component and write something like this in
the xbean.xml:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:bean="http://servicemix.apache.org/bean/1.0"
           xmlns:esb="http://esbinaction.com/errorhandling">

        <bean:endpoint service="esb:errorComponent"
                endpoint="errorEndpoint"
                bean="#errorBean"/>
 
        <bean id="errorBean" class="errorhandling.ExceptionListenerService"
/>

</beans>

Then the code that you have written can I use like this. I am not sure about
configuring your code like this, that is putting it in a bean. would it work
if I write something like this. Here the code I have copied from yours only
but I am not sure where to put it.

package errorhandling;

import javax.jbi.messaging.MessageExchange;

import org.apache.servicemix.jbi.event.ExchangeEvent;
import org.apache.servicemix.jbi.event.ExchangeListener;

/**
 * An {@link org.apache.servicemix.jbi.event.ExchangeListener}
implementation
 * to handle exception customization.
 *
 * @org.apache.xbean.XBean element="exceptionListenerService"
 * @version $Revision$
 * @author bsnyder
 */
public class ExceptionListenerService implements ExchangeListener {

    public void exchangeAccepted(ExchangeEvent event) {
        // TODO Auto-generated method stub

    }

    public void exchangeSent(ExchangeEvent event) {
        MessageExchange me = event.getExchange();
        Exception exception = null;

        if (me.getError() != null) {
            exception = analyzeException(me);
        }

        me.setError(exception);
    }

    /**
     * This method abstracts any special exception handling behavior.
     *
     * @TODO Abstract this further using pluggable strategies to hold the
     * custom functionality. Then we just stuff the strategies that are
     * named in the servicemix.xml config into an array and just walk the
     * array, invoking the execute method on each strategy.
     *
     * @param error The exception that was thrown
     * @param endpointName The name of the endpoint that threw the exception
     * @return
     */
    private Exception analyzeException(MessageExchange me) {
        Exception error = me.getError();
        String serviceName = me.getEndpoint().getServiceName().toString();
        String endpointName = me.getEndpoint().getEndpointName();
        String errorMessage = error.getMessage();

        // Add calls to custom processing here

        StringBuilder newErrorMessage =
            new StringBuilder("The following error was caused by service:
[");
        newErrorMessage.append(serviceName != null ? serviceName : "null");
        newErrorMessage.append("] and endpoint: [");
        newErrorMessage.append(endpointName != null ? endpointName :
"null");
        newErrorMessage.append("] ");
        newErrorMessage.append("Original error: ");
        newErrorMessage.append(errorMessage);

        return new Exception(newErrorMessage.toString(), error);
    }

}

I don't use servicemix.xml file to start my application on bus. I create a
zip file of application and put it inside SMX-HOME/hotdeploy. Please........
Help me to use your solution.

Thanks,
Pratibha
-- 
View this message in context: http://www.nabble.com/Exception-Listener-in-servicemix-tp15769242p17356436.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exception Listener in servicemix

Posted by Tropi Geek <tr...@gmail.com>.
Hi Bruce/Guillaume

I followed the approach suggested by you with the message listener and it
works great ! I need to improve the error handling part with user
friendly messages but just being able to get to the exception message is
great.

Thanks a million !



On Sat, Mar 1, 2008 at 5:55 AM, Bruce Snyder <br...@gmail.com> wrote:

>  On Fri, Feb 29, 2008 at 3:27 PM, Tropi Geek <tr...@gmail.com> wrote:
> > Guys, things seem to be working very well with servicemix but one of the
> >  challenges I am facing is to track errors happening at component level.
> >
> >  Is there a generic listener that I can use/implement to listen to all
> >  exceptions and then send it to a common exception queue component. I
> need to
> >  report issues back to the requesting application. I can do that with
> most
> >  bean/pojo components in a  try/catch block but not with any components.
> >
> >  Seems like a generic problem but I dont seem to be getting the right
> pointer
> >  for this. Kindly help.
>
> Well, you could create an ExchangeListener to capture every message
> exchange flowing through the NMR. This gives you the ability to
> manipulate the message exchanges however you like including checking
> for errors on the exchange. Below is an example of something I wrote
> to enhance the error messages on an exchange:
>
> package org.apache.servicemix.jbi.exceptions;
>
> import javax.jbi.messaging.MessageExchange;
>
> import org.apache.servicemix.jbi.event.ExchangeEvent;
> import org.apache.servicemix.jbi.event.ExchangeListener;
>
> /**
>  * An {@link org.apache.servicemix.jbi.event.ExchangeListener}
> implementation
>  * to handle exception customization.
>  *
>  * @org.apache.xbean.XBean element="exceptionListenerService"
>  * @version $Revision$
>  * @author bsnyder
>  */
> public class ExceptionListenerService implements ExchangeListener {
>
>    public void exchangeAccepted(ExchangeEvent event) {
>        // TODO Auto-generated method stub
>
>    }
>
>    public void exchangeSent(ExchangeEvent event) {
>        MessageExchange me = event.getExchange();
>        Exception exception = null;
>
>        if (me.getError() != null) {
>            exception = analyzeException(me);
>        }
>
>        me.setError(exception);
>    }
>
>    /**
>     * This method abstracts any special exception handling behavior.
>     *
>     * @TODO Abstract this further using pluggable strategies to hold the
>     * custom functionality. Then we just stuff the strategies that are
>     * named in the servicemix.xml config into an array and just walk the
>     * array, invoking the execute method on each strategy.
>     *
>     * @param error The exception that was thrown
>     * @param endpointName The name of the endpoint that threw the
> exception
>     * @return
>     */
>    private Exception analyzeException(MessageExchange me) {
>        Exception error = me.getError();
>        String serviceName = me.getEndpoint().getServiceName().toString();
>        String endpointName = me.getEndpoint().getEndpointName();
>        String errorMessage = error.getMessage();
>
>        // Add calls to custom processing here
>
>        StringBuilder newErrorMessage =
>            new StringBuilder("The following error was caused by service:
> [");
>        newErrorMessage.append(serviceName != null ? serviceName : "null");
>        newErrorMessage.append("] and endpoint: [");
>        newErrorMessage.append(endpointName != null ? endpointName :
> "null");
>        newErrorMessage.append("] ");
>        newErrorMessage.append("Original error: ");
>        newErrorMessage.append(errorMessage);
>
>        return new Exception(newErrorMessage.toString(), error);
>    }
>
> }
>
> To use this with ServiceMIx, you simply register it as a service in
> the servicemix.xml file using the XBean element in the class level
> XBean annotation (exceptionListenerService).
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
>
> Blog: http://bruceblog.org/
>

Re: Exception Listener in servicemix

Posted by Bruce Snyder <br...@gmail.com>.
On Fri, Feb 29, 2008 at 3:27 PM, Tropi Geek <tr...@gmail.com> wrote:
> Guys, things seem to be working very well with servicemix but one of the
>  challenges I am facing is to track errors happening at component level.
>
>  Is there a generic listener that I can use/implement to listen to all
>  exceptions and then send it to a common exception queue component. I need to
>  report issues back to the requesting application. I can do that with most
>  bean/pojo components in a  try/catch block but not with any components.
>
>  Seems like a generic problem but I dont seem to be getting the right pointer
>  for this. Kindly help.

Well, you could create an ExchangeListener to capture every message
exchange flowing through the NMR. This gives you the ability to
manipulate the message exchanges however you like including checking
for errors on the exchange. Below is an example of something I wrote
to enhance the error messages on an exchange:

package org.apache.servicemix.jbi.exceptions;

import javax.jbi.messaging.MessageExchange;

import org.apache.servicemix.jbi.event.ExchangeEvent;
import org.apache.servicemix.jbi.event.ExchangeListener;

/**
 * An {@link org.apache.servicemix.jbi.event.ExchangeListener} implementation
 * to handle exception customization.
 *
 * @org.apache.xbean.XBean element="exceptionListenerService"
 * @version $Revision$
 * @author bsnyder
 */
public class ExceptionListenerService implements ExchangeListener {

    public void exchangeAccepted(ExchangeEvent event) {
        // TODO Auto-generated method stub

    }

    public void exchangeSent(ExchangeEvent event) {
        MessageExchange me = event.getExchange();
        Exception exception = null;

        if (me.getError() != null) {
            exception = analyzeException(me);
        }

        me.setError(exception);
    }

    /**
     * This method abstracts any special exception handling behavior.
     *
     * @TODO Abstract this further using pluggable strategies to hold the
     * custom functionality. Then we just stuff the strategies that are
     * named in the servicemix.xml config into an array and just walk the
     * array, invoking the execute method on each strategy.
     *
     * @param error The exception that was thrown
     * @param endpointName The name of the endpoint that threw the exception
     * @return
     */
    private Exception analyzeException(MessageExchange me) {
        Exception error = me.getError();
        String serviceName = me.getEndpoint().getServiceName().toString();
        String endpointName = me.getEndpoint().getEndpointName();
        String errorMessage = error.getMessage();

        // Add calls to custom processing here

        StringBuilder newErrorMessage =
            new StringBuilder("The following error was caused by service: [");
        newErrorMessage.append(serviceName != null ? serviceName : "null");
        newErrorMessage.append("] and endpoint: [");
        newErrorMessage.append(endpointName != null ? endpointName : "null");
        newErrorMessage.append("] ");
        newErrorMessage.append("Original error: ");
        newErrorMessage.append(errorMessage);

        return new Exception(newErrorMessage.toString(), error);
    }

}

To use this with ServiceMIx, you simply register it as a service in
the servicemix.xml file using the XBean element in the class level
XBean annotation (exceptionListenerService).

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: Exception Listener in servicemix

Posted by Guillaume Nodet <gn...@gmail.com>.
Usually, exceptions happening during the processing of the messages
will be returned in the exchange with an ERROR status.   The jsr181
and cxf-se will
return them as faults, because they use a higher level, using faults
described in
the wsdl.
Anyway, i think the easier way to catch all exceptions is to register an
MessageListener instance on the container.   This can be done in the main
configuration file or via the lwcontainer.  This will allow you to
intercept all the
exchanges inside the bus and  process them as needed.

On Fri, Feb 29, 2008 at 11:27 PM, Tropi Geek <tr...@gmail.com> wrote:
> Guys, things seem to be working very well with servicemix but one of the
>  challenges I am facing is to track errors happening at component level.
>
>  Is there a generic listener that I can use/implement to listen to all
>  exceptions and then send it to a common exception queue component. I need to
>  report issues back to the requesting application. I can do that with most
>  bean/pojo components in a  try/catch block but not with any components.
>
>  Seems like a generic problem but I dont seem to be getting the right pointer
>  for this. Kindly help.
>
>  -- tg
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/