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 » Accessing PDF contents

Post new topic  Reply to topic
 Accessing PDF contents « View previous topic :: View next topic » 
Author Message
goffinf
PostPosted: Fri Nov 13, 2009 10:39 am    Post subject: Accessing PDF contents Reply with quote

Chevalier

Joined: 05 Nov 2005
Posts: 401

Has anyone attempted to access data from within a (Adobe) PDF received by a Message broker flow ?

I assume that there MAY be some Java libraries to do so, anyone prepared to recommend one.

I don't need to change the PDF in any way, but inside the PDF in the section used for non-printable characters, the sending application is providing some data that the flow needs (I know it would be easier if that was sent as a separate part of the same message, but take it from me, the sending application can ONLY pass me a PDF and nothing else).

Internally PDFs have a defined structure, so I don't know if anyone has come across a MessageSet or perhaps a Java library that enables that structure to be accessed efficiently.

I suppose its possible to just treat it as text and search for some specific charcater sequence acting as a tag, it just sounds a bit inefficient ?

These PDFs aren't currently that big (probably mostly < 1MB) but there's no guarantee that they will remain small and it seems that sometime soon messages will turn up with multiple PDFs (say 3 or 4) each of which will need to be 'read'.

Thanks

Fraser.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Nov 16, 2009 9:45 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Why not keep the whole "PDF process" outside the Broker and then pass only the required data to the Broker for processing.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Accessing PDF contents
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.