You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Andrè <mo...@web.de> on 2011/06/22 15:49:32 UTC

routing proxy´s over another broker

i have an set consisting of two active mq broker, one has an proxy
definition.like this
<proxy id="..." serviceUrl="..." SericeInterface="..."/>
    <route>
        <from uri="direct:AuthzService"/>
        <to uri="activemq:queue:services.global.xacml.authzRequests"/>
    </route>

the other is the Service provider, like this:
	<route id="jboss_SunXacml_PDP_reveices_Request_Route">
			<from uri="activemq:queue:services.global.xacml.authzRequests" />
			<to uri="bean:pdp" />
		</route>

all works fine: So now i just want to extend the set, by placing another
broker between the "Provider" and the "Interface":
Which will hopefully end in that kind of logical configuration:
(Interface)<-->(AnotherHop)<-->(Provider)
i tried it this way, but it doesn´t work, the request is not being routed to
the provider... 
But if i connect the "Interface" directly with the "Provider", it works
(after editing the port of the "Interface" of course)

(Interface)
<networkConnectors>
	<networkConnector conduitSubscriptions="true" 
                                   decreaseNetworkConsumerPriority="false" 
                                   duplex="true" 
                                  
name="PdpAuthzServiceWrapper-DroolsCompliance-Connection"      
uri="static://(tcp://localhost:61617)"/>
</networkConnectors>

(AnotherHop)
<networkConnectors>
	<networkConnector conduitSubscriptions="true"
		decreaseNetworkConsumerPriority="false" duplex="true"
			name="DroolsComplianceEngine-PdpAuthzProvider-Connection"
uri="static://(tcp://localhost:61616)">
	<dynamicallyIncludedDestinations>
	</dynamicallyIncludedDestinations>
	</networkConnector>
</networkConnectors>
<transportConnectors>
<transportConnector uri="tcp://localhost:61617" />
		</transportConnectors>

(Provider)
<transportConnectors>
       <transportConnector name="openwireTcpConnector"
				uri="tcp://localhost:61616" />
</transportConnectors>


--
View this message in context: http://camel.465427.n5.nabble.com/routing-proxy-s-over-another-broker-tp4514098p4514098.html
Sent from the Camel - Users mailing list archive at Nabble.com.