Codota Logo
TransactionIdMarshaller.looseUnmarshal
Code IndexAdd Codota to your IDE (free)

How to use
looseUnmarshal
method
in
org.apache.activemq.openwire.v2.TransactionIdMarshaller

Best Java code snippets using org.apache.activemq.openwire.v2.TransactionIdMarshaller.looseUnmarshal (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(looseUnmarshalByteArray(dataIn));
  info.setBranchQualifier(looseUnmarshalByteArray(dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 * 
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setConnectionId((org.apache.activemq.command.ConnectionId)looseUnmarsalCachedObject(wireFormat, dataIn));
}
origin: org.apache.activemq/activemq-all

/**
 * Un-marshal an object instance from the data input stream
 * 
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setConnectionId((org.apache.activemq.command.ConnectionId)looseUnmarsalCachedObject(wireFormat, dataIn));
}
origin: org.apache.activemq/activemq-all

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(looseUnmarshalByteArray(dataIn));
  info.setBranchQualifier(looseUnmarshalByteArray(dataIn));
}
origin: pierre/meteo

/**
 * Un-marshal an object instance from the data input stream
 * 
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setConnectionId((org.apache.activemq.command.ConnectionId)looseUnmarsalCachedObject(wireFormat, dataIn));
}
origin: org.apache.activemq/activemq-osgi

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(looseUnmarshalByteArray(dataIn));
  info.setBranchQualifier(looseUnmarshalByteArray(dataIn));
}
origin: org.apache.activemq/activemq-osgi

/**
 * Un-marshal an object instance from the data input stream
 * 
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setConnectionId((org.apache.activemq.command.ConnectionId)looseUnmarsalCachedObject(wireFormat, dataIn));
}
origin: pierre/meteo

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(looseUnmarshalByteArray(dataIn));
  info.setBranchQualifier(looseUnmarshalByteArray(dataIn));
}
org.apache.activemq.openwire.v2TransactionIdMarshallerlooseUnmarshal

Javadoc

Un-marshal an object instance from the data input stream

Popular methods of TransactionIdMarshaller

  • looseMarshal
    Write the booleans that this object uses to a BooleanStream
  • tightMarshal1
    Write the booleans that this object uses to a BooleanStream
  • tightMarshal2
    Write a object instance to data output stream
  • tightUnmarshal
    Un-marshal an object instance from the data input stream

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • getContentResolver (Context)
  • orElseThrow (Optional)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now