Author |
Message
|
giorginus80 |
Posted: Mon Dec 01, 2008 2:17 am Post subject: Compress or zipping a Message |
|
|
 Centurion
Joined: 08 Jul 2008 Posts: 124 Location: Rome, Italy
|
Hi,
is it possible to zip a message with the broker, and send it by mail with the mail node, or uncompressing it ? |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Dec 01, 2008 2:55 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
yes you can do by using JCN (Java Compute node)
if you search you will get it, do that right away _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Dec 01, 2008 5:26 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
There is a Support Pack that includes a ZIP node.
I have used this along with the Email node to output Exceptionlist and other flow data including the original message in the event of an exception being generated. The Zip is included as an attachment to the email.
Give it a whirl. Just be careful with converting the .ZIP output to a BLOB when to are configuring the attachment. _________________ 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 |
|
 |
giorginus80 |
Posted: Wed Dec 03, 2008 3:05 am Post subject: |
|
|
 Centurion
Joined: 08 Jul 2008 Posts: 124 Location: Rome, Italy
|
smdavies99 wrote: |
There is a Support Pack that includes a ZIP node.
I have used this along with the Email node to output Exceptionlist and other flow data including the original message in the event of an exception being generated. The Zip is included as an attachment to the email.
Give it a whirl. Just be careful with converting the .ZIP output to a BLOB when to are configuring the attachment. |
Please can you post me your example? |
|
Back to top |
|
 |
pottas |
Posted: Mon Mar 11, 2013 12:20 am Post subject: |
|
|
 Disciple
Joined: 27 Oct 2005 Posts: 185 Location: South Africa
|
Guys, I looked at the support Pack mentioned (IA99), and it is for version 5 and 6 of Message Broker, I checked and I failed to find a version for WMB 7. Can you perhaps steer me in the right direction? If there is an updated support pack, I would like to use it, if not the case, is there perhaps an ESQL way of getting the desired result? I simply want to convert a zipped attachment to a BLOB. |
|
Back to top |
|
 |
kimbert |
Posted: Mon Mar 11, 2013 2:36 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
I simply want to convert a zipped attachment to a BLOB. |
You could use a JavaCompute node. The Java language has built-in facilities for handling compressed data, and they are quite easy to use. |
|
Back to top |
|
 |
nathanw |
Posted: Mon Mar 11, 2013 2:39 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
well yes the support pac would be for those versions look at the dates on the thread _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
pottas |
Posted: Mon Mar 11, 2013 3:29 am Post subject: |
|
|
 Disciple
Joined: 27 Oct 2005 Posts: 185 Location: South Africa
|
Nope nathanw... unless I am missing something...
I have just extracted the IA99.zip support pack, and it simply just tells me the following when I want to install it:
Quote: |
Cannot complete the request. See the details.
Unsatisfied dependency: [SupportPacs.Feature.feature.group 1.0.0] requiredCapability: org.eclipse.equinox.p2.iu/com.ibm.etools.mft.api/[6.0.0,7.0.0)
Unsatisfied dependency: [SupportPacs.Feature.feature.group 1.0.0] requiredCapability: org.eclipse.equinox.p2.iu/com.ibm.etools.mft.api/[6.0.0,7.0.0) |
I am running toolkit:
Version: 7.0.0.3
Build id: 7.0.0.3-20110825_1025 |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 12, 2013 2:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Just use a JCN and get some Java developer to give you a hand.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|