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 Interchange Server + Adapters » regarding JText adapter

Post new topic  Reply to topic
 regarding JText adapter « View previous topic :: View next topic » 
Author Message
rajasri
PostPosted: Mon Dec 11, 2006 3:34 am    Post subject: regarding JText adapter Reply with quote

Centurion

Joined: 11 Jun 2006
Posts: 114

Hi all, i am working with JText adapter. when i put a file in a directory, a msg is being put in deliveru queue but with uneccessary details.
if my file has
John Anthony Reeve a28 Frodsham rd
Manchester
England
100000


the message in queue is like this.

<?xml version="1.0" encoding="UTF-8"?>
<Q1:BLOB_BO..xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BLOB_BO" version="3.0.0" verb="Create" locale="en_US" delta="false">
<Q1:BLOB>4a6f686e20416e74686f6e792052656576652020202020202020202020202061323820202020202020202020202020202020202020202020202020202020202046726f647368616d2072642020202020202020202020202020202020202020204d616e6368657374657220202020202020202020202020202020202020202020456e676c616e6420202020202020202020202020202020202020202020202020313030303030</Q1:BLOB>
<Q1:MetaData size="1">
<Q2:JText_META_DATA xmlns:Q2="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/JText_META_DATA" version="3.0.0" verb="Create" locale="en_US" delta="false">
<Q2:InFileName>c:\temp\event\One_line.in</Q2:InFileName>
</Q2:JText_META_DATA>
</Q1:MetaData>
<Q1:ObjectEventId>JTextConnector_1165835606713_1</Q1:ObjectEventId>
</Q1:BLOB_BO>


i dont want MetaData to be present. what changes i should make in th Data Handler?. Is there any way to get only blob message, i.e the data present in <Q1:BLOB>...</Q1:BLOB>, in the delivery queue. It is very urgent
Back to top
View user's profile Send private message
vk
PostPosted: Mon Dec 11, 2006 5:10 am    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

Hi Rajasri,

The mata data part is coming because the BO BLOB_BO.xsd has a dynamic child defined. You can delete this attribute from the BO if you do not need this.

Modify the BO so that it has only 1 attribute BLOB. Put the BO back in the repository directory and restart the adapter. You should get a message in the delivery queue without Q2.

Regards,
VK.
Back to top
View user's profile Send private message
rajasri
PostPosted: Mon Dec 11, 2006 8:52 pm    Post subject: regarding jtext adapter Reply with quote

Centurion

Joined: 11 Jun 2006
Posts: 114

Hi VK, that was a helpful reply. i was able to get output with out metadata. But, I am in need of a solution where i can get only the blob data in my deliveryqueue, i.e, i want to see only

4a6f686e20416e74686f6e792052656576652020202020202020202020202061323820202020202020202020202020202020202020202020202020202020202046726f647368616d2072642020202020202020202020202020202020202020204d616e6368657374657220202020202020202020202020202020202020202020456e676c616e6420202020202020202020202020202020202020202020202020313030303030

which is present in <BLOB></BLOB>, in my deliveryqueue. is it possible?.
Back to top
View user's profile Send private message
vk
PostPosted: Mon Dec 11, 2006 9:24 pm    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

I dont think that is not possible. The adapter will always send messages to the delivery queue with namespace prefix. Also, the adapter expects request messages in request queue with namespace.

You can access the BLOB data initially by specifying the complete path with prefix. Once you get the data, it can be parsed using CREATE PARSE statement or through some other means. This will get rid of all the namespaces.

Regards,
VK.
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 Interchange Server + Adapters » regarding JText adapter
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.