ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Websphere MQ: Can a Message be a File?

Post new topic  Reply to topic
 Websphere MQ: Can a Message be a File? « View previous topic :: View next topic » 
Author Message
gkinu
PostPosted: Tue Mar 31, 2009 5:58 am    Post subject: Websphere MQ: Can a Message be a File? Reply with quote

Newbie

Joined: 31 Mar 2009
Posts: 2

Can a Websphere MQ message be a file? Can this be supported in the existing APIs?

Currently, my organization sends certain information to a number of other organizations. We do this in XML format as the data has to be structured in a parent-child relationship.


The data also changes very frequently. The other organizations keep changing the exact data they need.

I am new to Websphere MQ and am investigating whether it can help us. From the little I have read, I have in mind a publish/subscribe kind of message exchange, but to send actual xml files. Is this feasible?
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Mar 31, 2009 6:02 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

You can send data in a message, that data can come from a file.

The MQI does not in itself provide file handling.

Websphere Message broker 6.1 does have this.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 31, 2009 6:04 am    Post subject: Re: Websphere MQ: Can a Message be a File? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

gkinu wrote:
Can a Websphere MQ message be a file?


No.

An MQ Message is an MQ Message. A file is a file. These are always and completely distinct objects.

The contents of an MQ message can be the same as the contents of a file. But only by writing code to read the contents of the file and write it to an MQ message.

Just like a file can hold an image or text or a microsoft word document or a spreadsheet or XML data, so can an MQ message.

The only difference that is meaningful is that an MQ message can only be 100MB in size.

You should look at WebSphere MQ File Transfer Edition.


Last edited by mqjeff on Tue Mar 31, 2009 7:08 am; edited 1 time in total
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Mar 31, 2009 6:04 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

you can send any type of file by MQ. you "just" have to make the file a message by putting it to MQ. MQ will send it to the target, were another application can get the message. Search here for filetransfer, you'll find plenty. There is everything available from free (sample) applications that do the job for you up to $$$ software.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Mar 31, 2009 6:05 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

WMQ imposes no restrictions on the type of data that comprises your message application data. So, your message can contain XML, binaries, video, telemetry, whatever.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
gkinu
PostPosted: Tue Mar 31, 2009 6:22 am    Post subject: Reply with quote

Newbie

Joined: 31 Mar 2009
Posts: 2

Wow! That was fast. Thank you all for your contributions.

#mqjeff

100MB is adequate for my message. Thanks.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Mar 31, 2009 7:02 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
...that an MQ message can only be 100MB in size.

True, a single physical message has a maximum 100MB size; however an application can construct a Message Group .

A Message Group consists of one or more messages that comprise a logical message. The logical message, composed of many physical messages, can exceed 100MB.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 31, 2009 7:08 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

bruce2359 wrote:
Quote:
...that an MQ message can only be 100MB in size.

True, a single physical message has a maximum 100MB size; however an application can construct a Message Group .

A Message Group consists of one or more messages that comprise a logical message. The logical message, composed of many physical messages, can exceed 100MB.


Sure, but let's show the new person the water, rather than give them a catalog of all the fish in it.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Mar 31, 2009 7:20 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

I wanted to disspell the 100MB limit myth. That number seems to be etched in stone (to continue with metaphors) as an absolute maximum. My motives were pure.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 31, 2009 7:35 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

bruce2359 wrote:
I wanted to disspell the 100MB limit myth. That number seems to be etched in stone (to continue with metaphors) as an absolute maximum. My motives were pure.


It was only the method, not the motive that I questioned.

Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Tue Mar 31, 2009 8:06 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

bruce2359 wrote:
WMQ imposes no restrictions on the type of data that comprises your message application data. So, your message can contain XML, binaries, video, telemetry, whatever.


Can we compress a message just like what we do with a file like adding it to WinZip etc?.

Thanks.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Tue Mar 31, 2009 8:11 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

The data that is put into the message would be compressed when putting and decompressed when getting (by the applications), if required
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 31, 2009 8:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

WMBDEV1 wrote:
The data that is put into the message would be compressed when putting and decompressed when getting (by the applications), if required


And when moving over a channel, if channel compression is enabled.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Mar 31, 2009 9:20 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
Can we compress a message just like what we do with a file like adding it to WinZip etc?.

Not to appear redundant or repetitive or repeat myself, but: WMQ imposes no restrictions on the type of data that comprises your message application data. So, your message can contain XML, binaries, video, telemetry, whatever.

The message can be compressed by an application or not. It can be comprssed with a channel setting (where available), or not. It can be a .zip, a tar, a .jpg, a .mov. The message can be encrypted by an application or not. It can be encrypted by SSL channel settings (where available), or not. Any or all of the above.

WMQ doesn't care about the application data component of your messages.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
sumit
PostPosted: Tue Mar 31, 2009 11:38 pm    Post subject: Re: Websphere MQ: Can a Message be a File? Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

gkinu wrote:
The data also changes very frequently. The other organizations keep changing the exact data they need.

I am new to Websphere MQ and am investigating whether it can help us. From the little I have read, I have in mind a publish/subscribe kind of message exchange, but to send actual xml files. Is this feasible?


Do you mean that other organizations change the part of data content what you send to them?

I believe pub-sub transmit complete message to all the applications who subscribe for it. So, if your intention is to send complete XML files (but not part) to several organisation, you can use pub-sub.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Websphere MQ: Can a Message be a File?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.