activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgm <>
Subject How to specify ForwardingBridge in XML
Date Sat, 03 May 2008 03:09:02 GMT
One of the changes in release 5.1 is this Improvement but I can't figure
out how it's supposed to be specified.

In every case the broker fails to start. Here's an excerpt from the exception:

UnsatisfiedDependencyException: Error creating bean with name
'forwardingBridge#949f69' defined in class path resource
[activemq.xml]: Unsatisfied dependency expressed through constructor
argument with index 0 of
type[org.apache.activemq.transport.Transport]: Could not convert
constructor argument value of type[java.lang.String] to required type
[org.apache.activemq.transport.Transport]: Failed to convert value of
type [java.lang.String] to required
type[org.apache.activemq.transport.Transport]; nested exception is
java.lang.IllegalArgumentException:Cannot convert value of type
[java.lang.String] to required type
[org.apache.activemq.transport.Transport]: no matching editors or
conversion strategy found

Here's the specification I used:

<forwardingBridge localBroker="vm://localhost"

I hope I'm missing something obvious. Thanks.

View raw message