"mbreuer" wrote : I am evaluating JBoss 4.2.2 and JBoss Messaging 1.4.0SP3. 
When using MessageConsumer with a messageSelector, the communication hangs.
  | 
  | ...
  | Differences: 
  | Outside JBossAS the inspector indicates a SpyObjectMessage while inside the 
container a JbossObjectMessage is used.
  | 

SpyObjectMessage is a class from JBossMQ, not JBoss Messaging.
Are you sure you're using JBoss Messaging outside the container?

anonymous wrote : 
  | 2.) Is there a difference in these lines or are they equivalent?
  |          msg.setJMSCorrelationID(correlationId); // 1
  |          msg.setStringProperty("JMSCorrelationID", correlationId ); //2
  | 
  | 

#2 is not legal: you're not allowed to start the name of a property by "JMS".
JMSCorrelationID must be set using #1 to work

hope it helps,
jeff

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159318#4159318

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159318
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to