users@glassfish.java.net

Does GF 2.1 support assigning a thread-pool to a JCA Endpoint

From: <glassfish_at_javadesktop.org>
Date: Mon, 02 Aug 2010 10:44:06 PDT

I have a thread-pool configured in GF 2.1 called "xxx" and I have the following sun-ejb.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd">
<sun-ejb-jar>
  <enterprise-beans>
      <ejb>
          <ejb-name>PMCollectionServiceReceiver</ejb-name>
          <use-thread-pool-id>xxx</use-thread-pool-id>
          <mdb-resource-adapter>
              <resource-adapter-mid>csem#csem-pmra</resource-adapter-mid>
          </mdb-resource-adapter>
      </ejb>
  </enterprise-beans>
</sun-ejb-jar>

PMCollectionServiceReceiver is a JCA inbound connector endpoint MDB. The whole system is packaged in one EAR including the JCA connector. I can't seem to get this endpoint MDB to be associated with the thread-pool that I specify. It always uses the "thread-pool-1" thread-pool which is the thread-pool for the ORB.

So does GF 2.1 support separate thread-pools?

Brett
[Message sent by forum member 'bbergquist']

http://forums.java.net/jive/thread.jspa?messageID=479141