activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From metatech <metatec...@gmail.com>
Subject How to specify an "id" attribute in the activemq-broker.xml in Blueprint format ?
Date Tue, 24 Jan 2012 14:02:11 GMT
Hello,

I use ServiceMix 4.4, which includes ActiveMQ 5.5.1.
When I try to specify an attribute "id" to the broker XML element, I have a
Blueprint error at deployment (see below).

Example :
    <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="broker1" id="myBroker">

This tag is defined with the XBean syntax. 
Is it possible to reference this bean from another bean defined with the
Blueprint syntax ?

14:52:33,551 | ERROR | rint Extender: 2 | BlueprintContainerImpl           |
10 - org.apache.aries.blueprint - 0.3.1 | Unable to start blueprint
container for bundle activemq-broker.xml
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to
find property descriptor id on class
org.apache.activemq.xbean.XBeanBrokerService
	at
org.apache.aries.blueprint.container.BeanRecipe.getPropertyDescriptor(BeanRecipe.java:820)[10:org.apache.aries.blueprint:0.3.1]
	at
org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:802)[10:org.apache.aries.blueprint:0.3.1]
	at
org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:773)[10:org.apache.aries.blueprint:0.3.1]
	at
org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:754)[10:org.apache.aries.blueprint:0.3.1]
	at
org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:720)[10:org.apache.aries.blueprint:0.3.1]
	at
org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)[10:org.apache.aries.blueprint:0.3.1]
	at
org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)[10:org.apache.aries.blueprint:0.3.1]
	at
org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:147)[10:org.apache.aries.blueprint:0.3.1]
	at
org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:640)[10:org.apache.aries.blueprint:0.3.1]
	at
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:331)[10:org.apache.aries.blueprint:0.3.1]
	at
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227)[10:org.apache.aries.blueprint:0.3.1]
	at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_25]
	at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_25]
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_25]
	at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_25]
	at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)[:1.6.0_25]
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_25]
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_25]
	at java.lang.Thread.run(Thread.java:662)[:1.6.0_25]

Thanks in advance,

metatech

--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-specify-an-id-attribute-in-the-activemq-broker-xml-in-Blueprint-format-tp4323804p4323804.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message