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 » Search

 Search found 9 matches
Author Message
  Topic: Deleting a file using Message Broker
Buzz Lightyear

Replies: 4
Views: 5441

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Feb 01, 2018 10:59 pm   Subject: Deleting a file using Message Broker
Reviving a very old thread. My question is how can one delete a file in a Compute node (ESQL) ? I have a slightly different requirement, in that, I need to delete one or more files as a part of a comp ...
  Topic: Zip file as email attachment
Buzz Lightyear

Replies: 17
Views: 12129

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Jun 15, 2017 9:16 pm   Subject: Zip file as email attachment
Houston, we have a touch down ! Using the Base64 encoding worked. I now have a valid zip file delivered in my inbox !


CREATE FIELD mimePart."Content-Type" TYPE NameValue VALUE 'applica ...
  Topic: Zip file as email attachment
Buzz Lightyear

Replies: 17
Views: 12129

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Jun 15, 2017 8:51 pm   Subject: Zip file as email attachment
The plot thickens !

The below code resulted in the BLOB being set to empty.
SET mimePart .Data.BLOB.BLOB = ASBITSTREAM(refFileSet.PackedData CCSID 1208 ENCODING 273);


(0x010000 ...
  Topic: Zip file as email attachment
Buzz Lightyear

Replies: 17
Views: 12129

PostForum: WebSphere Message Broker (ACE) Support   Posted: Thu Jun 15, 2017 5:03 am   Subject: Zip file as email attachment
Thank you mqJeff for the intervention.

I rolled-back my CreateZipFile function signature and ESQL declaration to the one I started with. The Java function returned a BLOB as before. But this time ...
  Topic: Zip file as email attachment
Buzz Lightyear

Replies: 17
Views: 12129

PostForum: WebSphere Message Broker (ACE) Support   Posted: Wed Jun 14, 2017 10:17 am   Subject: Zip file as email attachment
Changing the signature to the one below resulted in an exception. The method was not found.

public static MbElement[] createZipFile(MbElement[] fileSetRef) {
...
... ...
  Topic: Zip file as email attachment
Buzz Lightyear

Replies: 17
Views: 12129

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Jun 13, 2017 9:50 am   Subject: Zip file as email attachment
How should the MbElement be returned from the Java function to the caller ESQL, then ? Return (MBElement variable) statement wont work without changing the Java function signature. Also https://www.ib ...
  Topic: Zip file as email attachment
Buzz Lightyear

Replies: 17
Views: 12129

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Jun 13, 2017 8:11 am   Subject: Zip file as email attachment
Not sure I understood. Indeed Java parameters are pass by value. But those values are addresses. Hence something like the below should work.

public static void createZipFile(MbElement[] ...
  Topic: Zip file as email attachment
Buzz Lightyear

Replies: 17
Views: 12129

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Jun 13, 2017 5:19 am   Subject: Zip file as email attachment
@Vitor: Thank you for spawning a new thread.

Well, the debugger shows the BLOB data in the reference that was passed to the Java function. This is later set in the MIME which works out well as the ...
  Topic: Zip file as email attachment
Buzz Lightyear

Replies: 17
Views: 12129

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Jun 13, 2017 3:32 am   Subject: Zip file as an email attachment.
Reviving a very old thread here and hoping to find the answer.

I am trying to send out an email with a zip attachment through my message flow application deployed on WMB 7.0.3. The issue that I fac ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.