Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can't set application specific properties

Gamb Rockwell
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to set an application specific property on a message from a java program usign JMS and websphere MQ 5.3 but keep on getting errors when I try to open the message.

My code to set the property is :


In my other application when I try to read the the property :

int prop = msg.getIntProperty("OrderNumber");

The error that I get is :


at com.verizon.aedw.SortMsg.MsgSorter.main(
Exception in thread "main"

Also when I print out all message properties, my property "OrderNumber" does not show up in the receiving applications list.

If the problem is that I can't set the property do you know what could prevent me from doing that.

Thanks for your help.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!