Package org.jboss.jms.delegate

Examples of org.jboss.jms.delegate.ConnectionFactoryDelegate


                                             defaultTempQueueDownCacheSize,
                                             dupsOKBatchSize,
                                             supportsFailover);
      endpoints.put(uniqueName, endpoint);

      ConnectionFactoryDelegate delegate = null;

      if (supportsFailover || supportsLoadBalancing)
      {
         setupReplicator();
      }
View Full Code Here


         }
      }

      if (trace) { log.trace("Removing delegate from delegates list with key=" + uniqueName + " at serverPeerID=" + this.serverPeer.getServerPeerID()); }

      ConnectionFactoryDelegate delegate = (ConnectionFactoryDelegate)delegates.remove(uniqueName);

      if (delegate == null)
      {
         throw new IllegalArgumentException("Cannot find factory with name " + uniqueName);
      }
View Full Code Here

                  String uniqueName = key.substring(Replicator.CF_PREFIX.length());

                  log.debug(this + " received '" + uniqueName +  "' connection factory deploy / undeploy");

                  ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)delegates.get(uniqueName);

                  if (cfd == null)
                  {
                     //This is ok - connection factory a might be deployed on node A before being deployed on node B so
                     //node B might get the notification before it has deployed a itself
View Full Code Here

                  String uniqueName = key.substring(Replicator.CF_PREFIX.length());

                  log.debug(this + " received '" + uniqueName +  "' connection factory deploy / undeploy");

                  ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)delegates.get(uniqueName);

                  if (cfd == null)
                  {
                     //This is ok - connection factory a might be deployed on node A before being deployed on node B so
                     //node B might get the notification before it has deployed a itself
View Full Code Here

                                             defaultTempQueueDownCacheSize,
                                             dupsOKBatchSize,
                                             supportsFailover);
      endpoints.put(uniqueName, endpoint);

      ConnectionFactoryDelegate delegate = null;

      if (supportsFailover || supportsLoadBalancing)
      {
         setupReplicator();
      }
View Full Code Here

         }
      }

      if (trace) { log.trace("Removing delegate from delegates list with key=" + uniqueName + " at serverPeerID=" + this.serverPeer.getServerPeerID()); }

      ConnectionFactoryDelegate delegate = (ConnectionFactoryDelegate)delegates.remove(uniqueName);

      if (delegate == null)
      {
         throw new IllegalArgumentException("Cannot find factory with name " + uniqueName);
      }
View Full Code Here

            String uniqueName = key.substring(Replicator.CF_PREFIX.length());

            log.debug(this + " received '" + uniqueName +  "' connection factory deploy / undeploy");

            ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)delegates.get(uniqueName);

            if (cfd == null)
            {
               //This is ok - connection factory a might be deployed on node A before being deployed on node B so
              //node B might get the notification before it has deployed a itself
View Full Code Here

/*     */   }
/*     */
/*     */   public synchronized byte[] org$jboss$jms$client$delegate$ClientClusteredConnectionFactoryDelegate$getClientAOPStack$aop()
/*     */     throws JMSException
/*     */   {
/* 232 */     ClientClusteredConnectionFactoryDelegate.jdField_log_of_type_OrgJbossLoggingLogger.trace("Getting AOP stack, there are " + this.jdField_delegates_of_type_ArrayOfOrgJbossJmsClientDelegateClientConnectionFactoryDelegate.length + " delegates to choose from"); for (int server = 0; server < this.jdField_delegates_of_type_ArrayOfOrgJbossJmsClientDelegateClientConnectionFactoryDelegate.length; server++) try { ConnectionFactoryDelegate aopStackProvider = this.jdField_delegates_of_type_ArrayOfOrgJbossJmsClientDelegateClientConnectionFactoryDelegate[server]; ClientClusteredConnectionFactoryDelegate.jdField_log_of_type_OrgJbossLoggingLogger.trace("getting AOP stack from " + aopStackProvider);
/*     */         MessagingNetworkFailureException e;
/* 232 */         return aopStackProvider.getClientAOPStack(); } catch (MessagingNetworkFailureException localMessagingNetworkFailureException1) { ClientClusteredConnectionFactoryDelegate.jdField_log_of_type_OrgJbossLoggingLogger.debug("Server" + server + " was broken, loading AOP from next delegate", localMessagingNetworkFailureException1); } throw new MessagingNetworkFailureException("Failed to download and/or install client side AOP stack");
/*     */   }
View Full Code Here

/*     */
/* 135 */     ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(uniqueName, id, this.serverPeer, clientID, jndiBindings, prefetchSize, slowConsumers, defaultTempQueueFullSize, defaultTempQueuePageSize, defaultTempQueueDownCacheSize, dupsOKBatchSize, supportsFailover);
/*     */
/* 144 */     this.endpoints.put(uniqueName, endpoint);
/*     */
/* 146 */     ConnectionFactoryDelegate delegate = null;
/*     */
/* 148 */     if ((supportsFailover) || (supportsLoadBalancing))
/*     */     {
/* 150 */       setupReplicator();
/*     */     }
View Full Code Here

/*     */       }
/*     */     }
/*     */
/* 261 */     if (trace) log.trace("Removing delegate from delegates list with key=" + uniqueName + " at serverPeerID=" + this.serverPeer.getServerPeerID());
/*     */
/* 263 */     ConnectionFactoryDelegate delegate = (ConnectionFactoryDelegate)this.delegates.remove(uniqueName);
/*     */
/* 265 */     if (delegate == null)
/*     */     {
/* 267 */       throw new IllegalArgumentException("Cannot find factory with name " + uniqueName);
/*     */     }
View Full Code Here

TOP

Related Classes of org.jboss.jms.delegate.ConnectionFactoryDelegate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.