Package org.jboss.resource.adapter.jms.inflow

Examples of org.jboss.resource.adapter.jms.inflow.JmsActivation


      return ctx.getWorkManager();
   }

   public void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) throws ResourceException
   {
      JmsActivation activation = new JmsActivation(this, endpointFactory, (JmsActivationSpec) spec);
      activations.put(spec, activation);
      activation.start();
   }
View Full Code Here


      activation.start();
   }

   public void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
   {
      JmsActivation activation = (JmsActivation) activations.remove(spec);
      if (activation != null)
         activation.stop();
   }
View Full Code Here

      for (Iterator i = activations.entrySet().iterator(); i.hasNext();)
      {
         Map.Entry entry = (Map.Entry) i.next();
         try
         {
            JmsActivation activation = (JmsActivation) entry.getValue();
            if (activation != null)
               activation.stop();
         }
         catch (Exception ignored)
         {
            log.debug("Ignored", ignored);
         }
View Full Code Here

    public WorkManager getWorkManager() {
        return ctx.getWorkManager();
    }

    public void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) throws ResourceException {
        JmsActivation activation = new JmsActivation(this, endpointFactory, (JmsActivationSpec) spec);
        activations.put(spec, activation);
        activation.start();
    }
View Full Code Here

        activations.put(spec, activation);
        activation.start();
    }

    public void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) {
        JmsActivation activation = (JmsActivation) activations.remove(spec);
        if (activation != null) {
            activation.stop();
        }
    }
View Full Code Here

    public void stop() {
        for (Iterator i = activations.entrySet().iterator(); i.hasNext(); ) {
            Map.Entry entry = (Map.Entry) i.next();
            try {
                JmsActivation activation = (JmsActivation) entry.getValue();
                if (activation != null) {
                    activation.stop();
                }
            } catch (Exception ignored) {
                log.debug("Ignored", ignored);
            }
            i.remove();
View Full Code Here

/*     */   {
/*  72 */     return this.ctx.getXATerminator();
/*     */   }
/*     */
/*     */   public void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) throws ResourceException {
/*  76 */     JmsActivation activation = new JmsActivation(this, endpointFactory, (JmsActivationSpec)spec);
/*  77 */     this.activations.put(spec, activation);
/*  78 */     activation.start();
/*     */   }
View Full Code Here

/*  78 */     activation.start();
/*     */   }
/*     */
/*     */   public void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
/*     */   {
/*  83 */     JmsActivation activation = (JmsActivation)this.activations.remove(spec);
/*  84 */     if (activation != null)
/*  85 */       activation.stop();
/*     */   }
View Full Code Here

/* 101 */     for (Iterator i = this.activations.entrySet().iterator(); i.hasNext(); )
/*     */     {
/* 103 */       Map.Entry entry = (Map.Entry)i.next();
/*     */       try
/*     */       {
/* 106 */         JmsActivation activation = (JmsActivation)entry.getValue();
/* 107 */         if (activation != null)
/* 108 */           activation.stop();
/*     */       }
/*     */       catch (Exception ignored)
/*     */       {
/* 112 */         log.debug("Ignored", ignored);
/*     */       }
View Full Code Here

TOP

Related Classes of org.jboss.resource.adapter.jms.inflow.JmsActivation

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.