• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS message

 
ryan wayne
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what if a message comes into a queue but not as string so you cannot use testmessage.

how to use/cast to bytesmessage???
[ October 22, 2004: Message edited by: ryan wayne ]
 
rahul V kumar
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you could use substring

check out the API.
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the EJB and Other J2EE Technologies forum...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!