This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Broadcasting
Skip to end of metadata
Go to start of metadata

ActiveBlaze provides infrastructure for fast, reliable peer to peer messaging to meet the demands of high performance and collaborative applications.
Using the basic building block of a Channel, there exists a functional hierarchy used for different problem domains, each one a super-set of the previous one.

The BlazeChannel supports broadcasting on Topics - either using reliable multicast or point-cast.

To use a BlazeChannel create one from the a factory:

import org.apache.activeblaze.*;
BlazeChannelFactory factory = new BlazeChannelFactory();
BlazeChannel sender = factory.createChannel();
//start the channel and send a message

String destination = "";
BlazeMessage msg = new BlazeMessage("test payload");
//shutdown the sender

You can similarly subscribe to Topic messages by using a listener

BlazeChannel receiver = factory.createChannel();

//add a listener

receiver.addBlazeTopicMessageListener(destination, new BlazeMessageListener() {
            public void onMessage(BlazeMessage msg) {
                System.out.println("Got a msg: " + msg);

  • No labels