The code attaches to the ActiveMQ server on port 61613 and sends a small text message (" Hello, world ").
此代码连接到Active MQ服务器的61613端口,并发送一个很短的文本消息(“Hello, world”)。
This resource adapter enables any application server to send information to and receive information from ActiveMQ.
这个资源适配器使任何应用服务器都能够对ActiveMQ发送和接收信息。
You can use ActiveMQ not only with other application servers, but without any application server at all.
不但可以在其他应用服务器中使用ActiveMQ,而且即使根本没有应用服务器,也可以使用它。
In other words, Geronimo's ActiveMQ implementation enables you to build a GUI application that communicates with the application server using the JMS client, so no Web page is necessary.
换句话说,Geronimo的Active MQ实现让您能够构建一个GUI应用程序,让它使用JMS客户机与应用服务器进行通信,所以不需要web页面。
The JCA 1.5 specification details the contracts required between the application server (Geronimo) and the resource adapter (RA) -- a driver supplied by ActiveMQ.
JCA 1.5规范详细说明了应用服务器 (Geronimo)和资源适配器 (RA)之间所需的契约 ——由ActiveMQ 提供的一个驱动程序。
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.
MessageHelper类的这一方法与WebServer是在同一个虚拟机中执行的——在本例中,就是执行Jetty实例和ActiveMQ的那个虚拟机。
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.
MessageHelper类的这一方法与WebServer是在同一个虚拟机中执行的——在本例中,就是执行Jetty实例和ActiveMQ的那个虚拟机。
应用推荐