单词 | activemq | ||||||||||||||||||||||||||||||||||||||||
释义 |
|
本文使用的JMS实现是ActiveMQ,它是Apache软件基金会的一个开放源码的项目,以Apache许可证发布。 infoq.com | This article uses the ActiveMQ implementation of JMS, [...] which is an open source project from the Apache Software Foundation [...]and is licensed with the Apache license. infoq.com |
在这个例子中,ActiveMQ使用STOMP协议从PHP脚本接收消息,然后把消息路由到JMS [...] Topic,Flex应用程序接收消息并在界面上显示消息。 infoq.com | In this example, theActiveMQ JMSimplementation [...] receives the message from the PHP script through STOMP, then ActiveMQ routes [...]the message to the JMS topic that the Flex UI is consuming. infoq.com |
本文的示例用到了一个简单的Flex界面、BlazeDS库,以及ActiveMQ。 infoq.com | The examples in this article use a simple Flex interface, the BlazeDS libraries, [...] and an installation of ActiveMQ. infoq.com |
在这种方式下,利用STOMP将消息发送到ActiveMQ,对应用程序的其它部分来说,是相当透明的。 infoq.com | In this manner, using STOMP [...] to sendmessages to ActiveMQisquite transparent [...]to the rest of the application. infoq.com |
除了用ActiveMQ特定类,你还可以使用JNDI来写代码。 infoq.com | As an alternative to using ActiveMQ-specific classes, you [...] can write the code to use JNDI. infoq.com |
对于想了解使用JNDI来获得连接的更多信息,请参阅ActiveMQ文档。 infoq.com | For more information about using JNDI to get the [...] connection, see theActiveMQ documentation. infoq.com |
为测试从Flex发送的消息,本文使用了ActiveMQ自带的命令行例子。 infoq.com | To test the messages sent from Flex, this article uses the [...] command-line examples that come with ActiveMQ. infoq.com |
下面的例子说明了如何在ActiveMQ中使用内建的STOMP协议支持。 infoq.com | The example here demonstrates using the [...] built-in support for STOMPinActiveMQ. infoq.com |
从PHP脚本经由STOMP发送的消息被ActiveMQ接收,接收到的消息被放入JMS主题或JMS队列,由相同的消费者接收。 infoq.com | Messages sent from your PHP scripts via [...] STOMP are receivedbyActiveMQ,placed on the JMS [...]topics or queues, and are received by the same consumers. infoq.com |
下载ActiveMQ二进制发布包并解压,您可以启动ActiveMQ并完成ActiveMQ文档中的验证步骤,但在继续下一步之前请先关闭ActiveMQ。 infoq.com | Download the ActiveMQ binary distribution and extract it. You canstartActiveMQ and gothrough the verification steps in the ActiveMQ documentation, butthen shutActiveMQ down before proceeding. infoq.com |
MessageHelper类的这一方法与Web [...] Server是在同一个虚拟机中执行的——在本例中,就是执行Jetty实例和ActiveMQ的那个虚拟机。 infoq.com | The methods on the MessageHelper [...] are executed in the same virtual machine (VM) as the web server—in this case, the [...] Jetty instance that comes with ActiveMQ. infoq.com |
编译后的Servlet类文件(比如前面的MessageService类)必须放在ActiveMQ的webapps目录下。 infoq.com | The compiled servlet .class file must reside in the [...] webapps directory ofActiveMQ inan application [...]folder (for example, messageservice). infoq.com |
尽管ActiveMQ已内建了对STOMP的支持,你还是可以使用类似 StompConnect这样的STOMP类库与JMS通信。 infoq.com | Although ActiveMQ has built-insupport [...] for STOMP, you can also use STOMP to communicate with JMS using libraries such as StompConnect. infoq.com |
这么做可保证您运行的例子中只使用了ActiveMQ。 infoq.com | Doing so allows you to run this [...] example using onlyActiveMQ. infoq.com |
添加了STOMP代理的配置后,重启ActiveMQ。 infoq.com | After adding the configuration for the [...] STOMP broker, restart ActiveMQ. infoq.com |
ActiveMQ除了提供一个JMS的实现外,还提供使用其它编程语言发送消息的功能,包括PHP。 infoq.com | In addition to providing a JMS implementation, it provides the ability to send messages to it using other languages, including PHP. infoq.com |
解压此WAR包,把解压后的文件放进ActiveMQ的webapps/JavaBridge目录下,并在conf/jetty.xml配置文件中添加此应用程序。 infoq.com | Unpack this web [...] archive (WAR) fileinto ActiveMQ’s webapps/JavaBridge [...]directory, and add the application to the conf/jetty.xml file. infoq.com |
这样,本例的代码中就不会包含对ActiveMQ的直接引用。 infoq.com | The result is that this example code [...] contains no referencestoActiveMQ directly. infoq.com |
当ActiveMQ接收到消息,ActiveMQ会把消息放入JMS队列,Adobe Flex应用程序则从队列中接收消息。 infoq.com | WhenActiveMQ receivesthe message, it places it on [...] the JMS queue, and the Adobe Flex application receives the message. infoq.com |
但是,使用STOMP协议需要在PHP脚本和(ActiveMQ的)STOMP消息代理之间开放一个非标准的端口。 infoq.com | However, using STOMP requires that a nonstandard port be open between the PHP script and [...] the STOMP message broker (ActiveMQ). infoq.com |
英汉双解词典包含2273206条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。