可以在这里使用缺省主题空间。
要创建主题空间,请完成下列步骤。
另外还将了解如何导入主题空间。
创建主题空间与队列相似。
现在已经为示例应用程序创建了主题空间。
We have now created the topic space for our sample application.
请注意,主题的JMS定义也将指定主题空间。
Notice that the JMS definition for a topic also specifies the topic space.
JMS绑定将该请求传递到缺省消息提供程序主题空间。
The JMS binding delivers the request to a default messaging provider topic space.
上面演示的实例显示了MIDI命令的一部分主题空间。
In the example illustrated above, a partial topic space for MIDI commands is shown.
这里我们的重点是配置主题空间、主题和主题连接工厂。
Here you focus on configuring a topic space, a topic, and a topic connection factory.
经验表明,详细描述的主题空间要比简单扼要的空间更可取。
Experience has shown that a more verbose topic space is preferable to a terse, less descriptive space.
对于主题,您还需要提供主题名称和主题空间,如图12所示。
For topics, you also need to provide the topic name and topic space, as shown in Figure 12.
图1的示例展示了为飞机抵达和起飞消息所设计的逻辑主题空间。
Figure 1 is an example of a logically constructed topic space for flight arrival and departure messages.
这种逻辑主题空间允许不同的订阅者组可以只订阅他们所感兴趣的消息。
This logically constructed topic space allows disparate groups of subscribers to create subscriptions that deliver only messages of interest.
此逻辑主题空间应该允许对LHR机场的航班抵达和起飞信息进行单个订阅。
The logical topic space allows for a single subscription to request delivery of all information about arrivals and departures into and out of LHR.
管理员然后可以在提供程序中定义JMS主题,并将其与一个主题空间关联。
An administrator then defines a JMS topic in the provider and associates it with a topic space, which stores and transmits the messages for the topic.
出于效率考虑,只有在至少拥有一个订户的情况下,主题才会存在于主题空间中。
For efficiency, a topic only exists within the topic space when it has at least one subscriber.
在创建MQTT应用程序时,必须认真将主题空间设计得符合逻辑,并且支持灵活订阅。
When you create your MQTT application, you must carefully plan the topic space to be logical and to enable flexible subscriptions.
JMS主题配置为指向主题空间中的主题;其实现使用发布点发送和接收有关该主题的消息。
A JMS topic is configured to point to a topic in the topic space; its implementation USES the publication point to send and receive messages on that topic.
消费者不会知道消息是从何处产生的,除非明确地将该消息设计到消息内容计划或着主题空间中。
Unless explicitly designed into the message content schema or topic space, a consumer has no knowledge of where a message originated.
MQTT对于主题空间有一些强制规定,但设计适合您自己应用程序的逻辑信息空间则由您负责。
MQTT enforces few rules about the topic space, and you are responsible for designing a logical information space that makes sense for your application.
两个订阅者(Subscriber1和 Subscriber2)从主题空间接收该请求。
Two subscribers, Subscriber1 and Subscriber2 receive the request from the topic space.
队列与特定总线成员(属于总线的应用服务器或群集)相关,而主题空间则属于整个总线的一部分。
Whereas a queue is associated with a particular bus member (an application server or cluster that is part of the bus), a topic space is part of the bus as a whole.
主题空间不是在总线成员或消息传递引擎中定义,总线中的每个消息引擎都有一个主题空间的发布点。
Rather than the topic space being defined in a bus member or messaging engine, each messaging engine in the bus has a publication point for the topic space.
当应用程序将消息发布到主题空间中的主题上时,消息将通过该主题空间的所有发布点,如图5所示。
When an application publishes a message to a topic within that topic space, the message flows to every publication point for that topic space, as shown in Figure 5.
第一个订户订阅后,发布点会在消息发布到主题时将其添加到主题空间,直到最后一个订户取消订阅为止。
After the first subscriber subscribes, when messages are published to the topic, the publication point adds the messages to the topic space until the last subscriber unsubscribes.
在设计中通过对不同场所的空间塑造营造出不同的主题空间,体现水体、生态系统、游人的相互关系。
Different theme Spaces are created according to the different Spaces of the sites reflecting the relations between the water body, the eco-system and the visitors.
创建了主题空间、主题和主题连接工厂后,可以定义新导入JMS消息传递绑定,并按照图16中所示提供此信息。
After you've created a topic space, a topic, and a topic connection factory, you can define a new import JMS messaging binding and, thus, provide this information as described in Figure 16.
使用一个名称、一个JNDI名称和一个主题名称对JMS主题进行定义,其中,结构的主题名称在主题空间中定义。
JMS topics are defined with a name, a JNDI name, and a topic name, where the topic name is for the structure defined in the topic space.
而设计糟糕的主题空间则会导致客户的过度订阅,即客户订阅了超出自身所需的主题空间,继而会收到很多无关的消息。
A poorly planned topic space often results in client over-subscription, in which the client subscribes to a broader topic space than required, and thus receives extraneous messages.
用于这一系统的常见主题空间是FireAlarms///Alarm,其中和描述了校园中每个火警的位置。
One common topic space for such a system would be FireAlarms///Alarm, where and describe the location of each fire alarm on campus.
应用推荐