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 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

         // 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());
     
      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

      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 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

      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

      ServiceAttributeOverrides sao = new ServiceAttributeOverrides();
      sao.put(ServiceContainer.REMOTING_OBJECT_NAME,
              ServiceContainer.DO_NOT_USE_MESSAGING_MARSHALLERS, Boolean.TRUE);
     
     
      JMSWireFormat wf = new JMSWireFormat();
     
      MarshalFactory.addMarshaller("jms", wf, wf);     

      ServerManagement.start(0, "remoting", sao, true, false);
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.