GH-9230 fix error in code snippet
Fixes: #9230
Some code was present in the code snippet that shouldn't be there.
(cherry picked from commit 3d66ea00d9)
This commit is contained in:
committed by
Spring Builds
parent
ac29b2673e
commit
069fa9ffa0
@@ -604,7 +604,7 @@ The xref:channel/implementations.adoc#channel-implementations-queuechannel[`Queu
|
||||
----
|
||||
@Bean
|
||||
PollableChannel hazelcastQueueChannel(HazelcastInstance hazelcastInstance) {
|
||||
return new QueueChannel(hazelcastInstance.Message<?>>getQueue("springIntegrationQueue"));
|
||||
return new QueueChannel(hazelcastInstance.getQueue("springIntegrationQueue"));
|
||||
}
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user