Package org.apache.activemq.web
Class MessageQuery
java.lang.Object
org.apache.activemq.web.DestinationFacade
org.apache.activemq.web.QueueBrowseQuery
org.apache.activemq.web.MessageQuery
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
Allow the user to browse a message on a queue by its ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMapBody
(jakarta.jms.MapMessage mapMessage) getBody()
getId()
jakarta.jms.Message
boolean
isDLQ()
void
void
setMessage
(jakarta.jms.Message message) Methods inherited from class org.apache.activemq.web.QueueBrowseQuery
createBrowser, destroy, getBrowser, getQueue, getSelector, getSession, isQueue, setBrowser, setQueue, setSelector
Methods inherited from class org.apache.activemq.web.DestinationFacade
addDestination, createDestination, getBrokerAdmin, getBrokerFacade, getJMSDestination, getJMSDestinationType, getPhysicalDestinationName, getQueueView, getSupportedHttpMethods, getValidDestination, redirectToBrowseView, redirectToDestinationView, redirectToRequest, removeDestination, setJMSDestination, setJMSDestinationType, toString
-
Constructor Details
-
MessageQuery
- Throws:
jakarta.jms.JMSException
-
-
Method Details
-
getId
-
setId
-
setMessage
public void setMessage(jakarta.jms.Message message) -
getMessage
public jakarta.jms.Message getMessage() throws jakarta.jms.JMSException- Throws:
jakarta.jms.JMSException
-
getBody
- Throws:
jakarta.jms.JMSException
-
isDLQ
- Throws:
Exception
-
getPropertiesMap
- Throws:
jakarta.jms.JMSException
-
createMapBody
protected Map<String,Object> createMapBody(jakarta.jms.MapMessage mapMessage) throws jakarta.jms.JMSException - Throws:
jakarta.jms.JMSException
-