Package org.jboss.jms.delegate

Examples of org.jboss.jms.delegate.SessionEndpoint


/* 61 */     this.topicName = is.readUTF();
/*    */   }
/*    */
/*    */   public ResponseSupport serverInvoke() throws Exception
/*    */   {
/* 66 */     SessionEndpoint endpoint = (SessionEndpoint)Dispatcher.instance.getTarget(this.objectId);
/*    */
/* 69 */     if (endpoint == null)
/*    */     {
/* 71 */       throw new IllegalStateException("Cannot find object in dispatcher with id " + this.objectId);
/*    */     }
/*    */
/* 74 */     return new SessionCreateTopicResponse(endpoint.createTopic(this.topicName));
/*    */   }
View Full Code Here


/* 61 */     this.subName = is.readUTF();
/*    */   }
/*    */
/*    */   public ResponseSupport serverInvoke() throws Exception
/*    */   {
/* 66 */     SessionEndpoint endpoint = (SessionEndpoint)Dispatcher.instance.getTarget(this.objectId);
/*    */
/* 69 */     if (endpoint == null)
/*    */     {
/* 71 */       throw new IllegalStateException("Cannot find object in dispatcher with id " + this.objectId);
/*    */     }
/*    */
/* 74 */     endpoint.unsubscribe(this.subName);
/*    */
/* 76 */     return null;
/*    */   }
View Full Code Here

/*     */     }
/*     */   }
/*     */
/*     */   public ResponseSupport serverInvoke() throws Exception
/*     */   {
/*  88 */     SessionEndpoint endpoint = (SessionEndpoint)Dispatcher.instance.getTarget(this.objectId);
/*     */
/*  91 */     if (endpoint == null)
/*     */     {
/*  93 */       throw new IllegalStateException("Cannot find object in dispatcher with id " + this.objectId);
/*     */     }
/*     */
/*  96 */     endpoint.cancelDeliveries(this.cancels);
/*     */
/*  98 */     return null;
/*     */   }
View Full Code Here

/* 61 */     this.queueName = is.readUTF();
/*    */   }
/*    */
/*    */   public ResponseSupport serverInvoke() throws Exception
/*    */   {
/* 66 */     SessionEndpoint endpoint = (SessionEndpoint)Dispatcher.instance.getTarget(this.objectId);
/*    */
/* 69 */     if (endpoint == null)
/*    */     {
/* 71 */       throw new IllegalStateException("Cannot find object in dispatcher with id " + this.objectId);
/*    */     }
/*    */
/* 74 */     return new SessionCreateQueueResponse(endpoint.createQueue(this.queueName));
/*    */   }
View Full Code Here

TOP

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

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.