[jboss-jira] [JBoss JIRA] (WFLY-8968) Protocol stack for fork channel is missing defined fork protocols
Paul Ferraro (JIRA)
issues at jboss.org
Tue Jun 20 16:14:01 EDT 2017
[ https://issues.jboss.org/browse/WFLY-8968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Ferraro updated WFLY-8968:
-------------------------------
Description:
Given the fork definition:
{code:xml}
<channel name="ee" stack="udp">
<fork name="foo">
<protocol type="RSVP"/>
</fork>
</channel>
{code}
And given the code:
{code:java}
@Resource(lookup = "java:jboss/jgroups/factory/foo")
private ChannelFactory factory;
@PostConstruct
public void init() {
try {
Channel channel = this.factory.createChannel("bar");
// This assertion fails!
assert channel.getProtocolStack().findProtocol("RSVP") != null;
} catch (Exception e) {
throw new RuntimeException(e);
}
}
{code}
> Protocol stack for fork channel is missing defined fork protocols
> -----------------------------------------------------------------
>
> Key: WFLY-8968
> URL: https://issues.jboss.org/browse/WFLY-8968
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 11.0.0.Alpha1
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Critical
>
> Given the fork definition:
> {code:xml}
> <channel name="ee" stack="udp">
> <fork name="foo">
> <protocol type="RSVP"/>
> </fork>
> </channel>
> {code}
> And given the code:
> {code:java}
> @Resource(lookup = "java:jboss/jgroups/factory/foo")
> private ChannelFactory factory;
> @PostConstruct
> public void init() {
> try {
> Channel channel = this.factory.createChannel("bar");
> // This assertion fails!
> assert channel.getProtocolStack().findProtocol("RSVP") != null;
> } catch (Exception e) {
> throw new RuntimeException(e);
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list