GH-9230 fix error in code snippet
Fixes: #9230 Some code was present in the code snippet that shouldn't be there. **Auto-cherry-pick to `6.3.x` & `6.2.x`**
This commit is contained in:
@@ -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