Skip to content

Commit 3d66ea0

Browse files
authored
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`**
1 parent 5da6d7b commit 3d66ea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reference/antora/modules/ROOT/pages/hazelcast.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ The xref:channel/implementations.adoc#channel-implementations-queuechannel[`Queu
604604
----
605605
@Bean
606606
PollableChannel hazelcastQueueChannel(HazelcastInstance hazelcastInstance) {
607-
return new QueueChannel(hazelcastInstance.Message<?>>getQueue("springIntegrationQueue"));
607+
return new QueueChannel(hazelcastInstance.getQueue("springIntegrationQueue"));
608608
}
609609
----
610610

0 commit comments

Comments
 (0)