addItem(CompositeDataConstants.MESSAGE_URL, "Body Url", SimpleType.STRING);
}
@Override
public Map<String, Object> getFields(Object o) throws OpenDataException {
ActiveMQBlobMessage m = (ActiveMQBlobMessage)o;
Map<String, Object> rc = super.getFields(o);
try {
rc.put(CompositeDataConstants.MESSAGE_URL, "" + m.getURL().toString());
} catch (JMSException e) {
rc.put(CompositeDataConstants.MESSAGE_URL, "");
}
return rc;
}