문제

For my web app, I have a JMS topic which is receiving many messages at any given time. I have a MDB that processes the messages and updates the database based on the message data. I had been getting org.hibernate.exception.LockAcquisitionException when the topic was receiving multiple messages all at the same time so I changed the maxSessions attribute for the MDB to 1 and made it a singleton.

Now I am not seeing the Hibernate exceptions anymore, but I have concerns about performance. How large can I expect the Topic to get before I start seeing problems? I am using JBoss 4.3 EAP and I tried searching for how to configure this but nothing turned up. Will the topic size grow until Java runs out of memory or is this something that can be configured in JBoss?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top