
ccurest.messaging-integration.1.1.0-M3.source-code.integration-context.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns="http://www.springframework.org/schema/integration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd"> <channel id="input"/> <channel id="delete"/> <channel id="outputChannel"/> <service-activator input-channel="inputChannel" output-channel="outputChannel" ref="bookListener" method="returnBook"/> <json-to-object-transformer input-channel="input" type="io.codearte.accurest.samples.messaging.BookReturned" output-channel="inputChannel"/> <service-activator input-channel="deleteChannel" ref="bookListener" method="bookDeleted"/> <json-to-object-transformer input-channel="delete" type="io.codearte.accurest.samples.messaging.BookDeleted" output-channel="deleteChannel"/> <beans:bean id="bookListener" class="io.codearte.accurest.samples.messaging.BookListener"/> <!-- REQUIRED FOR TESTING --> <bridge input-channel="outputChannel" output-channel="output"/> <channel id="output"> <queue/> </channel> </beans:beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy