[jboss-jira] [JBoss JIRA] (JGRP-2493) RELAY does not use protocol stack supplied programmatically
Bela Ban (Jira)
issues at jboss.org
Tue Aug 4 09:13:00 EDT 2020
[ https://issues.redhat.com/browse/JGRP-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban updated JGRP-2493:
---------------------------
Workaround Description: Changed to 4.2.5: 5.0.0 has no RELAY any longer (deprecated)
Fix Version/s: 4.2.5
(was: 5.0.0.Final)
> RELAY does not use protocol stack supplied programmatically
> -----------------------------------------------------------
>
> Key: JGRP-2493
> URL: https://issues.redhat.com/browse/JGRP-2493
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.2.4
> Reporter: S Pokutniy
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 4.2.5
>
>
> RELAY does not use protocol stack supplied programmatically (i.e. stack which was set by using relay.setProtocolStack(protocolStack). Even though the stack is used in init(), the function below only relies on bridge_props file. Even though using an XML file is mostly possible, it becomes problematic when a custom SSLContext needs to be used in SSL_KEY_EXCHANGE, which can now only be set programmatically.
>
> protected void createBridge() {
> try {
> if(log.isTraceEnabled())
> log.trace("I'm the coordinator, creating a channel (props=" + bridge_props + ", cluster_name=" + bridge_name + ")");
> {color:#FF0000}bridge=new JChannel(bridge_props);{color}
> bridge.setDiscardOwnMessages(true); // don't receive my own messages
> bridge.setReceiver(new Receiver());
> bridge.connect(bridge_name);
> }
> catch(Exception e) {
> log.error(Util.getMessage("FailedCreatingBridgeChannelProps") + bridge_props + ")", e);
> }
> }
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list