Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to send *.jpg using JMS?  RSS feed

 
Yashnoo lyo
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends:

Does JMS could send images? I use JMS Point to Point pattern. I want to send some picture from client to JMS server. I want to know if it is possible. I use the following code, but it couldn't work. The Picture that I receieved can't be opened. My code is:


Client:

Server side:

I can receieve the test.jpg file but it is broked . I mean that the test.jpg can't be opened. Is there any error in my code? Thks!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!