<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1410152069;
        mso-list-type:hybrid;
        mso-list-template-ids:-1759350800 -1798508960 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:24;
        mso-level-number-format:bullet;
        mso-level-text:\F0D8;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1
        {mso-list-id:1932465220;
        mso-list-type:hybrid;
        mso-list-template-ids:-1642708954 1583354520 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.25in;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:1.75in;
        text-indent:-9.0pt;}
@list l1:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.25in;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.75in;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:3.25in;
        text-indent:-9.0pt;}
@list l1:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.75in;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:4.25in;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:4.75in;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Dear Friends,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Can anyone help to us for below requirements..<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-family:Wingdings'><span style='mso-list:Ignore'>�<span style='font:7.0pt "Times New Roman"'>&nbsp; </span></span></span><![endif]>We need to send the XML or txt file data transfer via RabbitMQ 2.8.4 using python 2.7 from producer to consumer.<o:p></o:p></p><p class=MsoListParagraph><o:p>&nbsp;</o:p></p><p class=MsoListParagraph>Currently we are using the method for the text file, where the text file contents are read by using this function |f = open('D:\\test\\test.txt', &quot;r&quot;)<o:p></o:p></p><p class=MsoListParagraph style='margin-left:7.5in'>�� text = f.read()<o:p></o:p></p><p class=MsoListParagraph style='margin-left:7.5in'>�� str=text<o:p></o:p></p><p class=MsoListParagraph style='margin-left:7.5in'>�� message =str<o:p></o:p></p><p class=MsoListParagraph style='margin-left:7.5in'>channel.basic_publish(exchange='testing_room',routing_key='file',body=message)�������������� <o:p></o:p></p><p class=MsoListParagraph>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� ��������������� print &quot; Sent &quot;|������������������������������������������������������������������� <o:p></o:p></p><p class=MsoListParagraph>in python and send it to the Queue and the same data has been received by the consumer and created as a file.<o:p></o:p></p><p class=MsoListParagraph><o:p>&nbsp;</o:p></p><p class=MsoListParagraph>1.Requesting you guidance is there any other method to transfer the TXT File <o:p></o:p></p><p class=MsoListParagraph><o:p>&nbsp;</o:p></p><p class=MsoNormal>��������������� We tried the similar process for XML files, but when we receive the content &#8220;/n&#8221; (New Line)� in consumer, below given the which we have received message.<o:p></o:p></p><p class=MsoNormal>��������������� <o:p></o:p></p><p class=MsoNormal>��������������� <span lang=EN-GB>'&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;&nbsp;&nbsp; <span style='color:red'>\n</span>&lt;ZACGPGRDOC&gt;&nbsp; \n&lt;IDOC BEGIN=&quot;1&quot;&gt;<span style='color:red'>\n</span>&lt;ZACGPGRHEADER SEGMENT=&quot;1&quot;&gt;<span style='color:red'>\n</span>&nbsp; &lt;MAT_DOC&gt;10000106&lt;/MAT_DOC&gt; �����<span style='color:red'>\n</span>&nbsp; &lt;MAT_YEAR&gt;2012&lt;/MAT_YEAR&gt;<span style='color:red'> \n&nbsp;</span> &lt;POST_DATE&gt;17.05.2012&lt;/POST_DATE&gt;<span style='color:red'> \n&nbsp;</span> &lt;LISEC_PO&gt;260000760&lt;/LISEC_PO&gt; <span style='color:red'>\n</span>&nbsp; &lt;STATUS&gt;Original&lt;/STATUS&gt;<span style='color:red'> \n</span>&lt;ZACGPGRITEM SEGMENT=&quot;1&quot;&gt;<span style='color:red'>\n</span>&nbsp; &lt;ITEMNO&gt;00001&lt;/ITEMNO&gt; <span style='color:red'>\n</span>&nbsp; &lt;CURR&gt;INR&lt;/CURR&gt; <span style='color:red'>\n&nbsp;</span> &lt;/ZACGPGRITEM&gt;<span style='color:red'>\n</span>&lt;/ZACGPGRHEADER&gt;<span style='color:red'>\n</span>&lt;/IDOC&gt;<span style='color:red'>\n</span>&lt;/ZACGPGRDOC&gt;'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>��������������� Here below given the screen shot also FYR..<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB> </span><img width=804 height=357 id="Picture_x0020_1" src="cid:image002.jpg@01CD9A49.D55F86F0"><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> </span><o:p></o:p></p><p class=MsoListParagraph><o:p>&nbsp;</o:p></p><p class=MsoListParagraph>2.Requesting your guidance and solution<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='text-indent:.5in'>3.Need to open the xml or txt file and ready the content.<o:p></o:p></p><p class=MsoNormal style='text-indent:.5in'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='text-indent:.5in'>4.Send that content as message from producer to consumer, which data is in the xml or txt file.<o:p></o:p></p><p class=MsoNormal style='text-indent:.5in'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='text-indent:.5in'>5.Is it possible to install python 2.7 into AIX 6.1 server. if it is possible, kindly share it.<o:p></o:p></p><p class=MsoNormal style='text-indent:.5in'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='text-indent:.5in'>6.is there any way to possible to send the small image files from producer to consumer.<o:p></o:p></p><p class=MsoNormal style='text-indent:.5in'><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thanks in advance,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Dhinesh P<o:p></o:p></p><p class=MsoNormal>Server support (SGGI-IT)<o:p></o:p></p><p class=MsoNormal>Mobile No :- �+91-9787447156<o:p></o:p></p><p class=MsoNormal>Land line :- 044-27160262<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoListParagraph style='margin-left:.75in'><o:p>&nbsp;</o:p></p><p class=MsoListParagraph> <o:p></o:p></p></div></body></html>