Author |
Message
|
Narsimha |
Posted: Tue Jan 24, 2012 10:20 pm Post subject: BLOB FORMAT USAGE(WHEN IT IS REQUIRED) |
|
|
 Newbie
Joined: 19 Jan 2012 Posts: 6 Location: Hyderabad
|
HI
ANY ONE CAN EXPLAIN ABOUT THE BLOB MESSAGE FORMAT AND ACTUALLY WHEN IT IS MANDATORY TO USE THIS FORMAT..
THANK YOU... |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Jan 24, 2012 10:58 pm Post subject: Re: BLOB FORMAT USAGE(WHEN IT IS REQUIRED) |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Narsimha wrote: |
HI
ANY ONE CAN EXPLAIN ABOUT THE BLOB MESSAGE FORMAT AND ACTUALLY WHEN IT IS MANDATORY TO USE THIS FORMAT..
THANK YOU... |
Please don't use CAPITALS for your complete post. It is considered to be 'shouting'.
Back to your post.
1) There are no cases where (AFAIK) using BLOB is Mandatory.
2) BLOB means Binary Large Object.
It is a bitstream with no distinct/defined format.
OR
You don't care what the format of the BLOB is.
One use of a BLOB is where you want to do some routing of a message and the routing data is contained elsewhere in the message tree (eg in an MQMD)
In this case you can route the message without needing to parse it. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
zpat |
Posted: Tue Jan 24, 2012 11:33 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5867 Location: UK
|
It can also be used to handle a string message without parsing.
You could cast it to character in a compute node and manipulate the content with the excellent ESQL string functions and then cast it back to blob for the output. I've done that where I just wanted to replace some characters (using the overlay function) and didn't want to construct a message set (especially for the diabolical swift format messages). |
|
Back to top |
|
 |
adubya |
Posted: Wed Jan 25, 2012 12:13 am Post subject: |
|
|
Partisan
Joined: 25 Aug 2011 Posts: 377 Location: GU12, UK
|
I've used it before where the digital signature of the message body needs to be verified against another source so no parser "tweaking" of the input could be tolerated. |
|
Back to top |
|
 |
|