Announcement Announcement Module
Collapse
No announcement yet.
receive() dont work on my topic Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • receive() dont work on my topic

    Hello
    I have a problem to receive a message from my topic..
    that is my springconfig for my topic:
    The OctopusMessageSender extends from JMSTemplate
    Code:
    <bean id="octopusMessageSender"
    		class="OctopusMessageSender">
    		<property name="connectionFactory" ref="connectionFactory" />
    		<property name="defaultDestinationName" value="AQ_IFC_QUEUE" />
    		<property name="sessionAcknowledgeModeName"
    			value="AUTO_ACKNOWLEDGE" />
    		<property name="receiveTimeout" value="500" />
    		<property name="destinationResolver"
    			ref="topicDestinationResolver" />
    		<property name="pubSubDomain">
    			<value>true</value>
    		</property>
    		<property name="timeToLive" value="60000" />
    		<property name="explicitQosEnabled" value="true" />
    	</bean>
    send() is working and my message is saved in my AQ Table.
    If I invoke receive() after the send() methode, I am not get a message.
    I can get my Message through a listener but not with the receive methode.

    Can anybody help me and tell me, where is my fault?
Working...
X