I'm using JBoss 3.2.3.

I've got a queue that I've defined as such:


  |   <mbean code="org.jboss.mq.server.jmx.Queue" 
name="jboss.mq.destination:service=Queue,name=CXMLPublishQueue">
  |     <depends 
optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
  |   </mbean>
  | 

And a Singleton MDB that consumes those messages with container configuration:


  |        <container-configuration>
  |               <container-name>Singleton Message Driven Bean</container-name>
  |               <call-logging>false</call-logging>
  |               
<invoker-proxy-binding-name>singleton-message-driven-bean</invoker-proxy-binding-name>
  |               <container-interceptors>
  |                  
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
  |                  <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
  |                  
<interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
  |                  <!-- CMT -->
  |                  <interceptor 
transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
  |                  <interceptor transaction="Container" 
metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
  |                  <interceptor 
transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
  |                  <!-- BMT -->
  |                  <interceptor 
transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
  |                  <interceptor 
transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
  |                  <interceptor transaction="Bean" 
metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
  |                  
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
  |               </container-interceptors>
  |               
<instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
  |               <instance-cache></instance-cache>
  |               <persistence-manager></persistence-manager>
  |               <container-pool-conf>
  |                  <MaximumSize>1</MaximumSize>
  |                  <strictMaximumSize/>
  |               </container-pool-conf>
  |        </container-configuration>   
  | 
  | ...
  | 
  | <invoker-proxy-bindings>
  |             <invoker-proxy-binding>
  |               <name>singleton-message-driven-bean</name>
  |               <invoker-mbean>default</invoker-mbean>
  |               
<proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
  |               <proxy-factory-config>
  |                  
<JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
  |                  
<ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
  |                  <MaximumSize>1</MaximumSize>
  |                  <MaxMessages>1</MaxMessages>
  |                  <MDBConfig>
  |                     <ReconnectIntervalSec>10</ReconnectIntervalSec>
  |                     <DLQConfig>
  |                        <DestinationQueue>queue/CXMLPublishQueue</DestinationQueue>
  |                        <MaxTimesRedelivered>10</MaxTimesRedelivered>
  |                        <TimeToLive>0</TimeToLive>
  |                     </DLQConfig>
  |                  </MDBConfig>
  |               </proxy-factory-config>
  |            </invoker-proxy-binding>
  | </invoker-proxy-bindings>
  | 

I've been trying to find a way to query my Queue and retrieve information about each 
of the Messages that have yet to be processed.  I basically want to retrieve each 
actual message and query it.

If anyone would be willing to point me in the right direction, I'd appreciate it 
greatly.

thanks,
Collin



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837825#3837825

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837825


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to