Jboss AS 7.1 でのメッセージングに HornetQ を使用しようとしています。
https://docs.jboss.org/author/display/AS71/Messaging+configuration によると
また、HornetQ JCA リソース アダプターのアウトバウンド アダプターを利用するという点で特別な pooled-connection-factory もあります。また、次の理由で特別です。
* It is only available to local clients, although it can be configured to point to a remote server.
* As the name suggests, it is pooled and therefore provides superior performance to the clients which are able to use it. The pool size can be configured via the max-pool-size and min-pool-size attributes.
* It should only be used to send (i.e. produce) messages.
* It can be configured to use specific security credentials via the user and password attributes. This is useful if the remote server to which it is pointing is secured.
3番目の箇条書きを除いて、すべてが理にかなっています
* メッセージの送信 (つまり、生成) にのみ使用する必要があります。
私の mdb は Pooled 接続ファクトリを使用し、メッセージを消費しています (送信していません)。
私の理解では、プールされた接続ファクトリは、パフォーマンスを向上させるために MDB が使用する必要があるものです。また、hornetq の著者の発言
http://hornetq.blogspot.com/2011/06/hornetq-on-jboss-as7.html
The pooled connection factories also define the incoming connection factory for MDB's,
the name of the connection factory refers to the resource adapter name used by the MDB,
一部の教祖はこれに光を当てることができますか?
ありがとうラーマ