Package org.jboss.jms.wireformat

Examples of org.jboss.jms.wireformat.RequestSupport


   // Closeable implementation ---------------------------------------------------------------------

   public void close() throws JMSException
   {
      RequestSupport req = new CloseRequest(id, version);

      doInvoke(client, req);
   }
View Full Code Here


      doInvoke(client, req);
   }

   public long closing() throws JMSException
   {
      RequestSupport req = new ClosingRequest(id, version);

      return ((Long)doInvoke(client, req)).longValue();
   }
View Full Code Here

   // SessionDelegate implementation ---------------------------------------------------------------

   public void acknowledgeDelivery(Ack ack) throws JMSException
   {
      RequestSupport req = new SessionAcknowledgeDeliveryRequest(id, version, ack);

      doInvoke(client, req);
   }
View Full Code Here

      doInvoke(client, req);
   }

   public void acknowledgeDeliveries(List acks) throws JMSException
   {
      RequestSupport req = new SessionAcknowledgeDeliveriesRequest(id, version, acks);

      doInvoke(client, req);
   }
View Full Code Here

      throw new IllegalStateException("This invocation should not be handled here!");
   }

   public void addTemporaryDestination(JBossDestination destination) throws JMSException
   {
      RequestSupport req = new SessionAddTemporaryDestinationRequest(id, version, destination);

      doInvoke(client, req);
   }
View Full Code Here

   }

   public BrowserDelegate createBrowserDelegate(JBossDestination queue, String messageSelector)
      throws JMSException
   {
      RequestSupport req = new SessionCreateBrowserDelegateRequest(id, version, queue,
                                                                   messageSelector);

      Object res = doInvoke(client, req);

      return (BrowserDelegate)res;
View Full Code Here

   public ConsumerDelegate createConsumerDelegate(JBossDestination destination, String selector,
                                                  boolean noLocal, String subscriptionName,
                                                  boolean connectionConsumer) throws JMSException
   {
      RequestSupport req = new SessionCreateConsumerDelegateRequest(id, version, destination,
                                                                    selector, noLocal, subscriptionName, connectionConsumer);

      return (ConsumerDelegate)doInvoke(client, req);
   }
View Full Code Here

      throw new IllegalStateException("This invocation should not be handled here!");
   }

   public JBossQueue createQueue(String queueName) throws JMSException
   {
      RequestSupport req = new SessionCreateQueueRequest(id, version, queueName);

      return (JBossQueue)doInvoke(client, req);
   }
View Full Code Here

      throw new IllegalStateException("This invocation should not be handled here!");
   }

   public JBossTopic createTopic(String topicName) throws JMSException
   {
      RequestSupport req = new SessionCreateTopicRequest(id, version, topicName);

      return (JBossTopic)doInvoke(client, req);
   }
View Full Code Here

      return (JBossTopic)doInvoke(client, req);
   }

   public void deleteTemporaryDestination(JBossDestination destination) throws JMSException
   {
      RequestSupport req = new SessionDeleteTemporaryDestinationRequest(id, version, destination);

      doInvoke(client, req);
   }
View Full Code Here

TOP

Related Classes of org.jboss.jms.wireformat.RequestSupport

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.