6 Replies Latest reply on Sep 16, 2008 7:13 AM by davinci25

    servicemix-camel AggregatorType Not implemented yet

    Tranchida Giampaolo Newbie

      Help !

       

      I have the following error deploying my camel-su on fuse-esb-3.3.1.4

       

      Same code work correctly with ServiceMix 3.2.2 (last release)

       

              from("seda:fileAggregator")

                      .aggregator(header("messageId"), new SedexAgreggatorStrategy())

                      .completedPredicate(header("complete").isEqualTo(true))

                      .to(

                              "jbi:endpoint:http://www.vd.ch/registre/sedex/sedexInbox/jmsProvider");

          }

       

       

       

      <component-task-result>

              <component-name>servicemix-camel</component-name>

              <component-task-result-details>

                      <task-result-details>

                              <task-id>deploy</task-id>

                              <task-result>FAILED</task-result>

                              <message-type>ERROR</message-type>

                              <task-status-msg>

      <msg-loc-info>

      <loc-token/>

      <loc-message>Could not deploy xbean service unit</loc-message>

      </msg-loc-info>

      </task-status-msg>

                              <exception-info>

                                      <nesting-level>1</nesting-level>

                                      <msg-loc-info>

                                              <loc-token/>

                                              <loc-message>java.lang.UnsupportedOperationException: Not implemented yet for class: org.apa

      che.camel.model.AggregatorType</loc-message>

                                              <stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException: java.lang.Unsupp

      ortedOperationException: Not implemented yet for class: org.apache.camel.model.AggregatorType

              at org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:424)

              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.camel.CamelSpringDeployer.deploy(CamelSpringDeployer.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:353)

              at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256)

              at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:664)

              at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)

              at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:628)

              at java.util.TimerThread.mainLoop(Timer.java:512)

              at java.util.TimerThread.run(Timer.java:462)

      Caused by: java.lang.UnsupportedOperationException: Not implemented yet for class: org.apache.camel.model.AggregatorType

              at org.apache.camel.model.ProcessorType.createProcessor(ProcessorType.java:90)

              at org.apache.camel.model.ProcessorType.createOutputsProcessor(ProcessorType.java:1572)

              at org.apache.camel.model.ProcessorType.createOutputsProcessor(ProcessorType.java:95)

              at org.apache.camel.model.InterceptorRef.createProcessor(InterceptorRef.java:61)

              at org.apache.camel.model.ProcessorType.makeProcessor(ProcessorType.java:1476)

              at org.apache.camel.model.ProcessorType.addRoutes(ProcessorType.java:99)

              at org.apache.camel.model.RouteType.addRoutes(RouteType.java:210)

              at org.apache.camel.model.RouteType.addRoutes(RouteType.java:80)

              at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:453)

              at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:445)

              at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:149)

              at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:47)

              at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:103)

              at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)

              at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)

              at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java

      :75)

              at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)

              at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)

              at org.apache.xbean.server.spring.configuration.SpringConfiguration.<init>(SpringConfiguration.java:63)

              at org.apache.xbean.server.spring.configuration.SpringConfigurationServiceFactory.createService(SpringConfigurationServiceFa

      ctory.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)

              ... 14 more

      ]]></stack-trace>

                                      </msg-loc-info>

                              </exception-info>

                      </task-result-details>

              </component-task-result-details>

      </component-task-result>

       

      Edited by: tranchida on Aug 11, 2008 11:50 AM