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:
@@ -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>
|
||||
Reference in New Issue
Block a user