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 » WebSphere Message Broker (ACE) Support » Password protected attachment

Post new topic  Reply to topic
 Password protected attachment « View previous topic :: View next topic » 
Author Message
sandeep9678
PostPosted: Wed Jul 11, 2012 8:37 am    Post subject: Password protected attachment Reply with quote

Apprentice

Joined: 04 Aug 2008
Posts: 41
Location: India

We can create simple attachments and send it as email.

But can we create password protected attachments (like pdf, excel, etc) in Message Broker and send it as email?


Or we need to have service which will create these documents and just use message Broker to send these created documents as email attachment.
_________________
Cheers,
Sandeep
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 11, 2012 8:41 am    Post subject: Re: Password protected attachment Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sandeep9678 wrote:
But can we create password protected attachments (like pdf, excel, etc) in Message Broker and send it as email?


WMB has no inbuilt functionality to create PDF or Excel format attachments, password protected or otherwise.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 11, 2012 8:59 am    Post subject: Re: Password protected attachment Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
sandeep9678 wrote:
But can we create password protected attachments (like pdf, excel, etc) in Message Broker and send it as email?


WMB has no inbuilt functionality to create PDF or Excel format attachments, password protected or otherwise.


I disagree.

Message Broker's inbuilt facilities are happy to run any kind of Java or .NET code you want.

Message Broker's inbuilt facilities are happy to send any kind of MIME document out over email, regardless of the contents of any of the MIME parts.

It is harder to do this particular requirement in ESQL than in Java or .NET code, but it can assuredly be done.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 11, 2012 9:13 am    Post subject: Re: Password protected attachment Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
Message Broker's inbuilt facilities are happy to run any kind of Java or .NET code you want.


Granted, but that's a narrow definition of "inbuilt". What I was attempting to convey was that WMB has no provided facility by which it can create either of those formats in the way it can (for example) produce a SOAP message or a tagged value file.

mqjeff wrote:
Message Broker's inbuilt facilities are happy to send any kind of MIME document out over email, regardless of the contents of any of the MIME parts.


Indeed, and as the OP mentioned.

mqjeff wrote:
It is harder to do this particular requirement in ESQL than in Java or .NET code, but it can assuredly be done.


If the definition of "inbuilt" is that code can be constructed to perform the function using the inbuilt language tools provided, then assembler has the most inbuilt features of any language ever invented.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 11, 2012 9:22 am    Post subject: Re: Password protected attachment Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
mqjeff wrote:
Message Broker's inbuilt facilities are happy to run any kind of Java or .NET code you want.


Granted, but that's a narrow definition of "inbuilt". What I was attempting to convey was that WMB has no provided facility by which it can create either of those formats in the way it can (for example) produce a SOAP message or a tagged value file.


Again, I'm going to disagree... It is, granted, much more difficult to create a DFDL model that parses and understands a PDF document, but the same 'inbuilt' facilities that can produce a SOAP message or a tagged value file can certainly create a PDF message.

And Excel files are more or less xml documents under the covers these days anyway....

The point remains that there are several choices for meeting the requirements inside broker without creating an external webservice that deals with packaging the data and then sends an email.

There may be good reasons to create the external webservice and have it available to be called from other things than just broker. But if it's NEVER going to be called from anything other than broker, it's probably overkill to create an external service.

And most of what you'd use to create the service is runnable inside broker ANYWAY.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 11, 2012 9:33 am    Post subject: Re: Password protected attachment Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
The point remains that there are several choices for meeting the requirements inside broker without creating an external webservice that deals with packaging the data and then sends an email.


Hey, I never said web service. I just pointed out WMB didn't do it out of the box. I make no comment on the many Java, .NET & other means of creating a PDF file or their suitibilty, except that I'd start there.

The OP was asking if he can create and mail PDF & Excel attachments with password protection like he's managed to create and mail simple attachments. He can't without adding to WMB's functionality, possibly leveraging 3rd party code.

mqjeff wrote:
There may be good reasons to create the external webservice and have it available to be called from other things than just broker. But if it's NEVER going to be called from anything other than broker, it's probably overkill to create an external service.



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Password protected attachment
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.