-
1. Re: XMLJSON
vincent.crepin May 27, 2014 4:27 PM (in response to vincent.crepin)I'm a little desperate. This is a basic functionnality and it worked with servicemix. I absolutely need that for my projects.
Is there an alternative if there is a bug with this one ?
-
2. Re: XMLJSON
ffang May 27, 2014 9:06 PM (in response to vincent.crepin)Hi,
Could you please double check if camel-xmljson feature really installed?
Freeman
-
3. Re: XMLJSON
vincent.crepin May 27, 2014 9:21 PM (in response to ffang)Yes it is. I checked in the console and at the command line. Thanks for helping me.
-
4. Re: XMLJSON
vincent.crepin May 28, 2014 9:39 AM (in response to vincent.crepin)I have another information. The profile in which I deployed the route using xmljson is not a jboss-fuse-full profile. It is a profile I created that is exactly the same as jboss-fuse-full except that it does not have mq-amq as a parent. I run ActiveMQ separately so I do not want to have an embedded ActiveMQ in my fuse container.
I don't think that should prevent xmljson from working correctly but I have no other clue.
Here is the complete stack trace in case:
Failed to create route loadVaatsRoute at:
...
because of Data format 'xmljson' could not be created. Ensure that the data format is valid and the associated Camel component is present on the classpath
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:912)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:177)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:778)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1955)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1705)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1579)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1547)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:177)[org.apache.camel:camel-blueprint:2.12.0.redhat-610379]
at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:209)[org.apache.camel:camel-blueprint:2.12.0.redhat-610379]
at org.apache.camel.blueprint.BlueprintCamelContext.serviceChanged(BlueprintCamelContext.java:147)[org.apache.camel:camel-blueprint:2.12.0.redhat-610379]
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:934)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:795)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4666)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.Felix.registerService(Felix.java:3674)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:347)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.registerService(BlueprintContainerImpl.java:448)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:383)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:270)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:233)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[org.apache.aries:org.apache.aries.util:1.0.1.redhat-610379]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[org.apache.aries:org.apache.aries.util:1.0.1.redhat-610379]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[org.apache.aries:org.apache.aries.util:1.0.1.redhat-610379]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[org.apache.aries:org.apache.aries.util:1.0.1.redhat-610379]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[org.apache.aries:org.apache.aries.util:1.0.1.redhat-610379]
at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4650)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.Felix$4.run(Felix.java:2123)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.Felix.runInContext(Felix.java:2147)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2121)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
Caused by: java.lang.IllegalArgumentException: Data format 'xmljson' could not be created. Ensure that the data format is valid and the associated Camel component is present on the classpath
at org.apache.camel.model.DataFormatDefinition.getDataFormat(DataFormatDefinition.java:90)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.model.DataFormatDefinition.getDataFormat(DataFormatDefinition.java:70)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.model.UnmarshalDefinition.createProcessor(UnmarshalDefinition.java:162)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.model.ProcessorDefinition.createProcessor(ProcessorDefinition.java:460)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.model.ProcessorDefinition.createOutputsProcessor(ProcessorDefinition.java:429)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.model.ProcessorDefinition.createOutputsProcessor(ProcessorDefinition.java:159)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.model.ProcessorDefinition.createChildProcessor(ProcessorDefinition.java:178)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.model.PipelineDefinition.createProcessor(PipelineDefinition.java:50)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:500)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:213)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:909)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
... 36 more