activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ttmdev <joe.fernan...@ttmsolutions.com>
Subject Re: How to specify ForwardingBridge in XML
Date Mon, 05 May 2008 01:10:17 GMT

It appears to me that org.apache.activemq.network.ForwardingBridge does not
have the appropriate constructor and setters for the localBroker and
remoteBroker 'String' params. You may want to check and see if there is a
jira out for this.

Joe
Get a free ActiveMQ user guide at www.ttmsolutions.com  



Steve-212 wrote:
> 
> One of the changes in release 5.1 is this Improvement
> http://issues.apache.org/activemq/browse/AMQ-545 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"
> remoteBroker="static://(tcp://174.210.4.10:61616)"/>
> 
> I hope I'm missing something obvious. Thanks.
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-specify-ForwardingBridge-in-XML-tp17031749s2354p17053287.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message