327328329330331332333334335336337
status = Status.UNAVAILABLE; } UID brokerSessionID = Globals.getBrokerSessionID(); if (brokerSessionID!=null){ hash.put("JMQBrokerSessionID",new Long(brokerSessionID.longValue())); } // OK, handle the HA properties HERE String clusterID = null;
347348349350351352353354355356357
if (clusterID != null) { hash.put("JMQClusterID", clusterID); } if (sessionUID != null) { hash.put("JMQStoreSession",new Long(sessionUID.longValue())); } String list = null; Iterator itr = null; if (((IMQService)con.getService()).getServiceType() != ServiceType.ADMIN) {
883884885886887888889890891892893
UID uid = new UID(); ByteBuffer bf = ByteBuffer.wrap(new byte[Xid.MAXGTRIDSIZE]); bf.put((byte)tmn.length); bf.put(tmn); bf.putLong(uid.longValue()); xid.setGlobalTransactionId(bf.array()); return xid; } catch (Exception e) { if (e instanceof SystemException) throw (SystemException)e;