jboss-user
[Arriba] [Todas las Listas]

[jboss-Usuario] [JBoss Messaging] - Re: Configura MDB PoolSize

To: User development <jboss-user@xxxxxxxxxxxxxxx>
Subject: [jboss-Usuario] [JBoss Messaging] - Re: Configura MDB PoolSize
From: "Harry P." <do-not-reply@xxxxxxxxx>
Date: Thu, 08 Sep 2011 04:21:05 -0400
Auto-submitted: yes
Delivery-date: Thu, 08 Sep 2011 04:22:15 -0400
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <2-515905-3-11234-1260783874887-2-515942-3-2104-1260790604981.jivesbs.jivemailuser@http://community.jboss.org>
List-archive: <http://lists.jboss.org/pipermail/jboss-user>
List-help: <mailto:jboss-user-request@lists.jboss.org?subject=help>
List-id: The JBoss User main mailing list <jboss-user.lists.jboss.org>
List-post: <mailto:jboss-user@lists.jboss.org>
List-subscribe: <https://lists.jboss.org/mailman/listinfo/jboss-user>, <mailto:jboss-user-request@lists.jboss.org?subject=subscribe>
List-unsubscribe: <https://lists.jboss.org/mailman/listinfo/jboss-user>, <mailto:jboss-user-request@lists.jboss.org?subject=unsubscribe>
References: <2-515905-3-11234-1260783874887.jivesbs.jivemailuser@http://community.jboss.org> <2-515905-3-11234-1260783874887-2-515939-3-11234-1260790399997.jivesbs.jivemailuser@http://community.jboss.org> <2-515905-3-11234-1260783874887-2-515942-3-2104-1260790604981.jivesbs.jivemailuser@http://community.jboss.org>
Reply-to: The JBoss User main mailing list <jboss-user@xxxxxxxxxxxxxxx>
Sender: jboss-user-bounces@xxxxxxxxxxxxxxx
Harry *P. [*http://Comunidad.*jboss.*org/Personas/*harishpandya] creó la discusión

"*Re: Configura *MDB *PoolSize"

para ver la discusión, visita: *http://comunidad.*jboss.*org/Mensaje/625437#625437

--------------------------------------------------------------
*Hi *jaikiran,

                *i quiere utilizar *concurrency utilizando *JMS tan *i implementación de tema utilizado de *JMS.
Mi *standardjboss.*xml Es


 <*proxy-fábrica-*config>
        <*JMSProviderAdapterJNDI>*DefaultJMSProvider</*JMSProviderAdapterJNDI>
        <*ServerSessionPoolFactoryJNDI>*StdJMSPool</*ServerSessionPoolFactoryJNDI>
        <*CreateJBossMQDestination>cierto</*CreateJBossMQDestination>
        <!-- WARN: no pone esto a *zero hasta un *bug en el *pooled *executor es fijo -->
        <*MinimumSize>2</*MinimumSize>
        <*MaximumSize>2</*MaximumSize><!--Cuántos *parellel necesidad para FPM -->
        <*KeepAliveMillis>150000</*KeepAliveMillis>
        <*MaxMessages>15</*MaxMessages>
        <*MDBConfig>
          <*ReconnectIntervalSec>10</*ReconnectIntervalSec>
          <*DLQConfig>
            <*DestinationQueue>*queue/*DLQ</*DestinationQueue>
            <*MaxTimesRedelivered>10</*MaxTimesRedelivered>
            <*TimeToLive>0</*TimeToLive>
          </*DLQConfig>
        </*MDBConfig>
      </*proxy-fábrica-*config>


*Concurrency es conseguido. Pero el problema es que *concurrency es aplicado a un fijado ningún de mensajes después de aquel quedando los mensajes son tomados *sequentially. 
*Ex.

No. De mensajes en tema(gama)                             *Connecurrency actuado para el mensaje                         Secuencial
                 11-15                                                                       4 (2 *parellel)                                                 7-11
                21-24                                                                       10(5 *parellel)                                                11-15

                25-29                                                                       18(9 *parellel)                                                7-11
                35-40                                                                       34(17 *perellel- mejor *perf.)                              1-6


 sabes por qué tal patrón es seguido & puede lo restringimos.


*Thanks Anticipadamente.
--------------------------------------------------------------

Respuesta a este mensaje por ir a Comunidad
[*http://comunidad.*jboss.*org/Mensaje/625437#625437]

Empieza una discusión nueva en *JBoss *Messaging en Comunidad
[*http://comunidad.*jboss.*org/Escoge-contenedor!Entrada.*jspa?*contentType=1&*containerType=14&contenedor=2042]

Harry P. [http://community.jboss.org/people/harishpandya] created the discussion

"Re: Configure MDB PoolSize"

To view the discussion, visit: http://community.jboss.org/message/625437#625437

--------------------------------------------------------------
Hi jaikiran,

                i want to use concurrency using JMS so i used topic implementation of JMS.
My standardjboss.xml is


 <proxy-factory-config>
        <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
        <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
        <CreateJBossMQDestination>true</CreateJBossMQDestination>
        <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
        <MinimumSize>2</MinimumSize>
        <MaximumSize>2</MaximumSize><!--how many parellel need for FPM -->
        <KeepAliveMillis>150000</KeepAliveMillis>
        <MaxMessages>15</MaxMessages>
        <MDBConfig>
          <ReconnectIntervalSec>10</ReconnectIntervalSec>
          <DLQConfig>
            <DestinationQueue>queue/DLQ</DestinationQueue>
            <MaxTimesRedelivered>10</MaxTimesRedelivered>
            <TimeToLive>0</TimeToLive>
          </DLQConfig>
        </MDBConfig>
      </proxy-factory-config>


Concurrency is achieved. But the problem is that concurrency is applied to a fixed no of messages after that remaining messages are taken sequentially. 
Ex.

No. of messages on topic(range)                             Connecurrency performed for message                         Sequential
                 11-15                                                                       4 (2 parellel)                                                 7-11
                21-24                                                                       10(5 parellel)                                                11-15

                25-29                                                                       18(9 parellel)                                                7-11
                35-40                                                                       34(17 perellel- best perf.)                              1-6


do you know why such pattern is followed & can we restrict it.


Thanks in Advance.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/625437#625437]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

_______________________________________________
*jboss-Usuario *mailing lista
*jboss-user@xxxxxxxxxxxxxxx
*https://listas.*jboss.*org/*mailman/*listinfo/*jboss-Usuario
_______________________________________________
jboss-user mailing list
jboss-user@xxxxxxxxxxxxxxx
https://lists.jboss.org/mailman/listinfo/jboss-user
<Anterior por Tema] Tema Actual [Siguiente por Tema>
  • [jboss-Usuario] [JBoss Messaging] - Re: Configura MDB PoolSize, Harry P. <=