コード例 #1
0
 private MapMessage createPayload(
     String key1, Object value1, String key2, Object value2, String key3, Object value3)
     throws JMSException {
   return newMapMessage(ImmutableMap.<String, Object>of(key1, value1, key2, value2, key3, value3));
 }
コード例 #2
0
 private MapMessage createPayload(String key, Object value) throws JMSException {
   return newMapMessage(ImmutableMap.<String, Object>of(key, value));
 }