The message subsystem of wildfly evaluation

Source: Internet
Author: User
Tags socket jboss wildfly

Wildfly, formerly JBoss as, from V8 to the difference from JBoss EAP, renamed to Wildfly. HORNETQ is an independent message-oriented middleware developed by JBoss and is integrated into wildfly as a message subsystem.

HORNETQ fully supports JMS,HORNETQ not only to support the JMS1.1 API but also to define its own messaging APIs (the core Client in the following figure) to maximize hornetq performance and flexibility.

Figure 1 Client program HORNETQ Two Interactive modes

For a description of the core client API, see: http://docs.jboss.org/hornetq/2.3.0.CR2/docs/api/hornetq-client/

1.1.1. Message type

HORNETQ is consistent with JMS to support two types of messages: point-to-point and publish/subscribe.

Point-to-Point

Figure 2 Point-to-Point of message types

Publish/subscribe

Figure 3 Publish/subscribe of message types

1.1.2. HORNETQ's Special terminology description

In order to better use the Wildfly message subsystem, it is necessary to give a description of its proprietary terminology. Two sets of concepts are more important:

Acceptors and Connectors

INVM and Netty

1.1.2.1. Acceptors and Connectors

Acceptor

Specify what type of connection HORNETQ server accepts (Connection)

Connector

Specify how HORNETQ server is connected to the client

The related configuration is defined in standalone and domain profile, and the following is a list of references.

<connectors>
    <netty-connector name= "Netty" socket-binding= "messaging"  />
    < Netty-connector name= "Netty-throughput" socket-binding= "Messaging-throughput" >
        <param key= "Batch-delay" Value= "/>"
    </netty-connector>
    <servlet-connector name= "servlet" socket-binding= "http" Host= "Default-host"  />
    <in-vm-connector name= "IN-VM" server-id= "0"  />
</connectors >
<acceptors>
    <netty-acceptor name= "Netty" socket-binding= "messaging"  />
    < Netty-acceptor name= "Netty-throughput" socket-binding= "Messaging-throughput" >
         <param key= "Batch-delay" Value= "/>"
        <param key= "Direct-deliver" value= "false"  />
    </netty-acceptor>
    <in-vm-acceptor name= "IN-VM" server-id= "0"  />
</acceptors>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.