Package org.jboss.jms.wireformat

Examples of org.jboss.jms.wireformat.JMSWireFormat


         // counter history takes up growing memory to store the stats and could theoretically
         // eventually cause the server to run out of RAM

         txRepository.loadPreparedTransactions();

         JMSWireFormat wf = new JMSWireFormat();
         MarshalFactory.addMarshaller("jms", wf, wf);

         //Now everything is started we can tell the invocation handler to start handling invocations
         //We do this right at the end otherwise it can start handling invocations before we are properly started
         JMSServerInvocationHandler.setClosed(false);
View Full Code Here


      catch (Exception e)
      {
         throw new MessagingNetworkFailureException("Failed to connect client", e);
      }

      client.setMarshaller(new JMSWireFormat());
      client.setUnMarshaller(new JMSWireFormat());
     
      return client;
   }
View Full Code Here

      // We explicitly set the Marshaller since otherwise remoting tries to resolve the marshaller
      // every time which is very slow - see org.jboss.remoting.transport.socket.ProcessInvocation
      // This can make a massive difference on performance. We also do this in
      // ServerConnectionEndpoint.setCallbackClient.

      client.setMarshaller(new JMSWireFormat());
      client.setUnMarshaller(new JMSWireFormat());
     
      onewayClient.setMarshaller(new JMSWireFormat());
      onewayClient.setUnMarshaller(new JMSWireFormat());
     
      Map metadata = new HashMap();
     
      metadata.put(InvokerLocator.DATATYPE, "jms");
View Full Code Here

         // counter history takes up growing memory to store the stats and could theoretically
         // eventually cause the server to run out of RAM

         txRepository.loadPreparedTransactions();

         JMSWireFormat wf = new JMSWireFormat();
         MarshalFactory.addMarshaller("jms", wf, wf);

         //Now everything is started we can tell the invocation handler to start handling invocations
         //We do this right at the end otherwise it can start handling invocations before we are properly started
         JMSServerInvocationHandler.setClosed(false);
View Full Code Here

      // We explicitly set the Marshaller since otherwise remoting tries to resolve the marshaller
      // every time which is very slow - see org.jboss.remoting.transport.socket.ProcessInvocation
      // This can make a massive difference on performance. We also do this in
      // ServerConnectionEndpoint.setCallbackClient.

      client.setMarshaller(new JMSWireFormat());
      client.setUnMarshaller(new JMSWireFormat());

      Map metadata = new HashMap();
     
      metadata.put(InvokerLocator.DATATYPE, "jms");
View Full Code Here

         // We explictly set the Marshaller since otherwise remoting tries to resolve the marshaller
         // every time which is very slow - see org.jboss.remoting.transport.socket.ProcessInvocation
         // This can make a massive difference on performance. We also do this in
         // JMSRemotingConnection.setupConnection
        
         callbackClient.setMarshaller(new JMSWireFormat());
         callbackClient.setUnMarshaller(new JMSWireFormat());
      }
      else
      {
         log.trace("ServerInvokerCallbackHandler callback Client is not available: " +
                   "must be using pull callbacks");
View Full Code Here

         // We explictly set the Marshaller since otherwise remoting tries to resolve the marshaller
         // every time which is very slow - see org.jboss.remoting.transport.socket.ProcessInvocation
         // This can make a massive difference on performance. We also do this in
         // JMSRemotingConnection.setupConnection
        
         callbackClient.setMarshaller(new JMSWireFormat());
         callbackClient.setUnMarshaller(new JMSWireFormat());
      }
      else
      {
         log.trace("ServerInvokerCallbackHandler callback Client is not available: " +
                   "must be using pull callbacks");
View Full Code Here

      // We explicitly set the Marshaller since otherwise remoting tries to resolve the marshaller
      // every time which is very slow - see org.jboss.remoting.transport.socket.ProcessInvocation
      // This can make a massive difference on performance. We also do this in
      // ServerConnectionEndpoint.setCallbackClient.

      client.setMarshaller(new JMSWireFormat());
      client.setUnMarshaller(new JMSWireFormat());
     
      onewayClient.setMarshaller(new JMSWireFormat());
      onewayClient.setUnMarshaller(new JMSWireFormat());
     
      Map metadata = new HashMap();
     
      metadata.put(InvokerLocator.DATATYPE, "jms");
View Full Code Here

/*  293 */       this.txRepository.start();
/*  294 */       this.clusterConnectionManager.start();
/*      */
/*  301 */       this.txRepository.loadPreparedTransactions();
/*      */
/*  303 */       JMSWireFormat wf = new JMSWireFormat();
/*  304 */       MarshalFactory.addMarshaller("jms", wf, wf);
/*      */
/*  308 */       JMSServerInvocationHandler.setClosed(false);
/*      */
/*  310 */       this.started = true;
View Full Code Here

/*     */
/* 199 */     if (callbackClient != null)
/*     */     {
/* 204 */       callbackClient.setSubsystem("CALLBACK");
/*     */
/* 211 */       callbackClient.setMarshaller(new JMSWireFormat());
/* 212 */       callbackClient.setUnMarshaller(new JMSWireFormat());
/*     */     }
/*     */     else
/*     */     {
/* 216 */       log.trace("ServerInvokerCallbackHandler callback Client is not available: must be using pull callbacks");
/*     */     }
View Full Code Here

TOP

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

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.