|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Password protected attachment |
« View previous topic :: View next topic » |
Author |
Message
|
sandeep9678 |
Posted: Wed Jul 11, 2012 8:37 am Post subject: Password protected attachment |
|
|
 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 |
|
 |
Vitor |
Posted: Wed Jul 11, 2012 8:41 am Post subject: Re: Password protected attachment |
|
|
 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 |
|
 |
mqjeff |
Posted: Wed Jul 11, 2012 8:59 am Post subject: Re: Password protected attachment |
|
|
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 |
|
 |
Vitor |
Posted: Wed Jul 11, 2012 9:13 am Post subject: Re: Password protected attachment |
|
|
 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 |
|
 |
mqjeff |
Posted: Wed Jul 11, 2012 9:22 am Post subject: Re: Password protected attachment |
|
|
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 |
|
 |
Vitor |
Posted: Wed Jul 11, 2012 9:33 am Post subject: Re: Password protected attachment |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|