什么是外国JMS提供者? Weblogic在JMS应用程序中的典型角色是什么? [英] What is Foreign JMS provider? What is the typical role of Weblogic in a JMS application?

查看:115
本文介绍了什么是外国JMS提供者? Weblogic在JMS应用程序中的典型角色是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,我正在开发JMS应用程序.但是我使用纯JMS API和属性文件进行配置.我的应用程序正在Weblogic中运行,并连接到客户端的MQ系列服务器. 最近,我知道可以将Weblogic用于JMS配置.

Currently I am working on a JMS application. But I use plain JMS API and Property file for configurations. My application is running in Weblogic and connects to MQ series server of my client. Recently I got to know I can use Weblogic for JMS configurations.

请解释.

  1. 什么是外国JMS提供程序"?
  2. Weblogic还是JMS服务器还是外部JMS提供者,还是两者都提供?

推荐答案

Weblogic提供了与所有JMS规范元素(如ConnectionFactory和Destinations)完全兼容的JMS Server功能.在此JMS服务器上,您可以通过配置的目标"连接并将消息发送到客户端的Messaging Server.

Weblogic provides the JMS Server features fully compliant with all JMS spec elements such as ConnectionFactory and Destinations. On this JMS Server you can connect and send messages to the client's Messaging Server via a configured Destination.

此外,将Weblogic用作JMS Server还为您提供了许多功能,例如在发生故障时进行消息重试,设置消息配额以及增强对JMS Server的监视以跟踪错误.想法是为性能,死锁,调优,文件存储或数据库存储等设置更多配置驱动的设置.

In addition using Weblogic as the JMS Server gives you lot many features such as Message Retry in case of failure, setting message quotas as well as enhanced monitoring of the JMS Server to track errors. The idea is to have more configuration driven settings for performance, deadlocks, tuning, filestore or database store etc.

有关这些功能的完整列表,请参见 http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms/fund.html#wp1071787

A full list of such features is given at http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms/fund.html#wp1071787

Weblogic中的外国JMS提供程序是用于定义Weblogic JMS以外的JMS实现的术语.您所使用的示例就是IBM MQ.

A Foreign JMS Provider in Weblogic is the term used to define JMS implementations other than Weblogic JMS. An example is IBM MQ in your case.

一旦在Weblogic中配置了外部提供程序,出于代码中的所有实际目的,就可以像在本地JNDI查找上一样调用它. Weblogic将使远程调用对您的代码透明.这使您可以通过Weblogic控制台上的配置来更改目的地.

Once the Foreign Provider is configured within Weblogic, for all practical purposes within the code - it can be called as if it was on local JNDI lookup. Weblogic will make the remote calls transparent to your code. This allows you to change your destination via configuration on the Weblogic console.

您将需要Weblogic JMS Server中的消息传递桥来连接从中接收消息的源目的地和向其发送消息的目标目的地.

You will need a Messaging Bridge within Weblogic JMS Server to connect a source destination from which messages are received, and a target destination to which messages are sent.

对此有一些必要的阅读,位于: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms_admin/advance_config.html#wp1075917

Some essential reading on this is at: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms_admin/advance_config.html#wp1075917

以及将IBM MQ配置为外部提供程序的示例位于

and an example of configuring IBM MQ as a Foreign Provider is at http://www.ibm.com/developerworks/websphere/library/techarticles/0604_kesavan/0604_kesavan.html#N1011D

这篇关于什么是外国JMS提供者? Weblogic在JMS应用程序中的典型角色是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆