<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dhinesh,<br>
<br>
On 09/24/2012 07:13 AM, Dhinesh, P [ Maples - IT ] wrote:
<blockquote
cite="mid:00946F8B780BAB43A04111EEAA7B47F603B1E244@L00EXCEC1.zl.if.atcsg.net"
type="cite">
<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]-->
<div class="WordSection1"><o:p></o:p>
<p class="MsoListParagraph"><o:p> </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> </o:p></p>
</div>
</blockquote>
<br>
No, there is no kind of 'attachments' API in AMQP like the one in
soap. If you want to 'know' something about the content in the
consumer then you can set headers in the message yourself and handle
these explicitly, dealing with stuff like content-type, encoding,
mime-type, etc. It's all under your control, as the body and headers
are treated as opaque by the broker.<br>
<br>
<blockquote
cite="mid:00946F8B780BAB43A04111EEAA7B47F603B1E244@L00EXCEC1.zl.if.atcsg.net"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"> We tried the similar
process for XML files, but when we receive the content “/n”
(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">'<?xml
version="1.0" encoding="UTF-8" ?> <span
style="color:red">\n</span><ZACGPGRDOC> \n<IDOC
BEGIN="1"><span style="color:red">\n</span><ZACGPGRHEADER
SEGMENT="1"><span style="color:red">\n</span>
<MAT_DOC>10000106</MAT_DOC> <span
style="color:red">\n</span>
<MAT_YEAR>2012</MAT_YEAR><span style="color:red">
\n </span> <POST_DATE>17.05.2012</POST_DATE><span
style="color:red"> \n </span>
<LISEC_PO>260000760</LISEC_PO> <span
style="color:red">\n</span>
<STATUS>Original</STATUS><span style="color:red">
\n</span><ZACGPGRITEM SEGMENT="1"><span
style="color:red">\n</span>
<ITEMNO>00001</ITEMNO> <span style="color:red">\n</span>
<CURR>INR</CURR> <span style="color:red">\n </span>
</ZACGPGRITEM><span style="color:red">\n</span></ZACGPGRHEADER><span
style="color:red">\n</span></IDOC><span
style="color:red">\n</span></ZACGPGRDOC>'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
</div>
</blockquote>
<br>
This looks absolutely fine. The python shell prints newlines escaped
like this, but if you shove the text into a file then it'll look the
way you expect.<br>
<br>
<blockquote
cite="mid:00946F8B780BAB43A04111EEAA7B47F603B1E244@L00EXCEC1.zl.if.atcsg.net"
type="cite">
<div class="WordSection1">
<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> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><img
id="Picture_x0020_1"
src="cid:part1.05060708.04030907@rabbitmq.com" height="357"
width="804"><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> </o:p></p>
<p class="MsoListParagraph">2.Requesting your guidance and
solution<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<br>
To which problem?<br>
<br>
<blockquote
cite="mid:00946F8B780BAB43A04111EEAA7B47F603B1E244@L00EXCEC1.zl.if.atcsg.net"
type="cite">
<div class="WordSection1">
<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> </o:p></p>
</div>
</blockquote>
<br>
You're have already opened the file and ready [sic] the content
right?<br>
<br>
<blockquote
cite="mid:00946F8B780BAB43A04111EEAA7B47F603B1E244@L00EXCEC1.zl.if.atcsg.net"
type="cite">
<div class="WordSection1">
<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> </o:p></p>
</div>
</blockquote>
<br>
You said you've already done this?<br>
<br>
<blockquote
cite="mid:00946F8B780BAB43A04111EEAA7B47F603B1E244@L00EXCEC1.zl.if.atcsg.net"
type="cite">
<div class="WordSection1">
<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> </o:p></p>
</div>
</blockquote>
<br>
Try asking on the python mailing lists?<br>
<br>
<blockquote
cite="mid:00946F8B780BAB43A04111EEAA7B47F603B1E244@L00EXCEC1.zl.if.atcsg.net"
type="cite">
<div class="WordSection1">
<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> </o:p></p>
</div>
</blockquote>
<br>
Yes. Do exactly the same thing as for text and xml - as I mentioned
above, the content of the message is opaque to the broker.<br>
</body>
</html>