Tabnine Logo
MessageDispatchMarshaller.looseMarshalCachedObject
Code IndexAdd Tabnine to your IDE (free)

How to use
looseMarshalCachedObject
method
in
org.apache.activemq.openwire.v4.MessageDispatchMarshaller

Best Java code snippets using org.apache.activemq.openwire.v4.MessageDispatchMarshaller.looseMarshalCachedObject (Showing top 4 results out of 315)

origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessageDispatch info = (MessageDispatch)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessage(), dataOut);
    dataOut.writeInt(info.getRedeliveryCounter());

  }
}
origin: org.apache.activemq/activemq-all

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessageDispatch info = (MessageDispatch)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessage(), dataOut);
    dataOut.writeInt(info.getRedeliveryCounter());

  }
}
origin: org.apache.activemq/activemq-osgi

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessageDispatch info = (MessageDispatch)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessage(), dataOut);
    dataOut.writeInt(info.getRedeliveryCounter());

  }
}
origin: pierre/meteo

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessageDispatch info = (MessageDispatch)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessage(), dataOut);
    dataOut.writeInt(info.getRedeliveryCounter());

  }
}
org.apache.activemq.openwire.v4MessageDispatchMarshallerlooseMarshalCachedObject

Popular methods of MessageDispatchMarshaller

  • looseMarshalNestedObject
  • looseUnmarsalCachedObject
  • looseUnmarsalNestedObject
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightMarshalNestedObject1
  • tightMarshalNestedObject2
  • tightUnmarsalCachedObject
  • tightUnmarsalNestedObject

Popular in Java

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • putExtra (Intent)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now