Synchronous Consumer with JMS Queue
问题 I want to process all the messages from a JMS Queue in Glassfish 3 in a synchronous way so I have tried to change the property Maximum Active Consumers from -1 to 1 in JMS Physical Destination in Glassfish window. I think setting this I will have only one Consumer executing OnMessage() at the same time. The problem I have reached its that when I change that property I got this error: [I500]: Caught JVM Exception: org.xml.sax.SAXParseException: Content is not allowed in prolog. [I500]: Caught