The <channel/> element is now used for creating all Point-to-Point channel types. It accepts a queue sub-element (options are: <queue/>, <priority-queue/>, or <rendezvous-queue/>). If no queue sub-element is provided, the channel type will be a DirectChannel.

This commit is contained in:
Mark Fisher
2008-09-01 22:50:56 +00:00
parent a27ae5726e
commit 788b2364ec
56 changed files with 442 additions and 358 deletions

View File

@@ -13,14 +13,14 @@
<message-bus/>
<direct-channel id="input"/>
<channel id="input"/>
<service-activator id="endpoint"
input-channel="input"
output-channel="output"
ref="testHandler">
<interceptors>
<si-security:endpoint-security-policy access="ROLE_ADMIN" />
<si-security:endpoint-security-policy access="ROLE_ADMIN"/>
</interceptors>
</service-activator>
@@ -34,11 +34,11 @@
<beans:bean id="accessDecisionManager"
class="org.springframework.security.vote.AffirmativeBased">
<beans:property name="allowIfAllAbstainDecisions" value="true" />
<beans:property name="allowIfAllAbstainDecisions" value="true"/>
<beans:property name="decisionVoters">
<beans:list>
<beans:bean
class="org.springframework.security.vote.RoleVoter" />
class="org.springframework.security.vote.RoleVoter"/>
</beans:list>
</beans:property>
</beans:bean>
@@ -48,9 +48,9 @@
<security:user-service id="userDetailsService">
<security:user name="jimi" password="jimispassword"
authorities="ROLE_USER, ROLE_ADMIN" />
authorities="ROLE_USER, ROLE_ADMIN"/>
<security:user name="bob" password="bobspassword"
authorities="ROLE_USER" />
authorities="ROLE_USER"/>
</security:user-service>
</beans:beans>