|
From: Øyvind M. W. <oyv...@om...> - 2018-07-02 07:39:05
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>That's quite obvious why you don't get any messages.</p>
<p>Please read the log yourself.<br>
</p>
<p><br>
</p>
<div class="moz-signature">
<title></title>
<font face="Verdana"><small>Best regards<br>
<br>
<b><font color="#003366">Øyvind Matheson Wergeland</font></b><br>
CTO</small><br>
<small>
<br>
Mobile: (+47) 95 16 16 88<br>
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:oyv...@om...">oyv...@om...</a><br>
<br>
<b><font color="#003366">Oslo Market Solutions</font></b><br>
PO Box 4, 0051 Oslo, Norway<br>
Telephone: (+47) 40 00 23 13<br>
<a class="moz-txt-link-abbreviated" href="http://www.oms.no">www.oms.no</a></small><br>
</font>
</div>
<div class="moz-cite-prefix">On 07/02/2018 08:58 AM, Vamsi
Pinnamaneni wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAF...@ma...">
<pre wrap="">QuickFIX/J Documentation: <a class="moz-txt-link-freetext" href="http://www.quickfixj.org/documentation/">http://www.quickfixj.org/documentation/</a>
QuickFIX/J Support: <a class="moz-txt-link-freetext" href="http://www.quickfixj.org/support/">http://www.quickfixj.org/support/</a>
</pre>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<div dir="ltr">Hi Team,
<div><br>
</div>
<div>Please find the below logs. i am unable to figure out why
control is not coming to fromApp method.</div>
<div><br>
</div>
<div>logs...............................</div>
<div>
<div>20180702-06:53:06: Session FIX.4.4:WOB->BSC schedule
is weekly, SUN 00:00:00-UTC - FRI 00:00:00-UTC</div>
<div>20180702-06:53:06: Created session: FIX.4.4:WOB->BSC</div>
<div>20180702-06:53:06: Configured socket addresses for
session: [/<a href="http://10.21.188.240:2369"
moz-do-not-send="true"><font color="red"><b>MailScanner has detected a possible fraud attempt from "10.21.188.240:2369" claiming to be</b></font> <font color="red"><b>MailScanner
warning: numerical links are often malicious:</b></font>
10.21.188.240:2369</a>]</div>
<div>20180702-06:53:06: MINA session created: local=/<a
href="http://10.21.188.242:41668" moz-do-not-send="true"><font color="red"><b>MailScanner has detected a possible fraud attempt from "10.21.188.242:41668" claiming to be</b></font> <font
color="red"><b>MailScanner warning: numerical links are
often malicious:</b></font> 10.21.188.242:41668</a>,
class org.apache.mina.transport.socket.nio.NioSocketSession,
remote=/<a href="http://10.21.188.240:2369"
moz-do-not-send="true"><font color="red"><b>MailScanner has detected a possible fraud attempt from "10.21.188.240:2369" claiming to be</b></font> <font color="red"><b>MailScanner
warning: numerical links are often malicious:</b></font>
10.21.188.240:2369</a></div>
<div>20180702-06:53:07: Initiated logon request</div>
<div>20180702-06:53:07: Logon contains ResetSeqNumFlag=Y,
resetting sequence numbers to 1</div>
<div>20180702-06:53:07: Received logon</div>
<div>20180702-06:53:07: Disconnecting: Forcibly disconnecting
session</div>
</div>
<div>..........................................................................</div>
<div>messages log is</div>
<div>
<div>8=FIX.4.4 9=62 35=A 34=1 49=WOB 52=20180702-06:53:06.560
56=BSC 108=30 141=Y 10=015 </div>
<div>8=FIX.4.4 9=67 35=A 34=1 49=WOB 52=20180702-06:53:07.545
56=BSC 98=0 108=30 141=Y 10=247 </div>
<div>8=FIX.4.4 9=73 35=A 34=1 49=BSC 52=20180702-06:54:23.156
56=WOB 369=0 98=0 108=30 141=Y 10=001 </div>
<div>8=FIX.4.4 9=119 35=V 34=2 49=WOB 52=20180702-06:53:07.586
56=BSC 262=MDRQ-1530514387572 263=0 264=1 265=0 146=1
55=USD/VND 267=1 269=1 10=200 </div>
</div>
<div><br>
</div>
<div>Please help me.thanks in advance.</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jun 28, 2018 at 8:44 PM, Øyvind
Matheson Wergeland <span dir="ltr"><<a
href="mailto:oyv...@om..." target="_blank"
moz-do-not-send="true">oyv...@om...</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5">QuickFIX/J Documentation: <a
href="http://www.quickfixj.org/documentation/%0AQuickFIX/J"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.quickfixj.org/<wbr>documentation/<br>
QuickFIX/J</a> Support: <a
href="http://www.quickfixj.org/support/"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.quickfixj.org/<wbr>support/</a><br>
<br>
<br>
</div>
</div>
<br>
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_-498983232720031972moz-signature">The code
looks correct. Have you checked the log files?<br>
<br>
Note that fromApp should be very fast, like only put the
message on some other queue and then return. Actual
message handling must be done in another thread,
otherwise you block receiving messages. But you can
worry about that when you actually receive messages.<br>
<br>
<br>
<font face="Verdana"><small>Best regards<br>
<br>
<b><font color="#003366">Øyvind Matheson Wergeland</font></b><br>
CTO</small><br>
<small> <br>
Mobile: (+47) 95 16 16 88<br>
E-mail: <a
class="m_-498983232720031972moz-txt-link-abbreviated"
href="mailto:oyv...@om..."
target="_blank" moz-do-not-send="true">oyv...@om...</a><br>
<br>
<b><font color="#003366">Oslo Market Solutions</font></b><br>
PO Box 4, 0051 Oslo, Norway<br>
Telephone: (+47) 40 00 23 13<br>
<a
class="m_-498983232720031972moz-txt-link-abbreviated"
href="http://www.oms.no" target="_blank"
moz-do-not-send="true">www.oms.no</a></small><br>
</font> </div>
<div class="m_-498983232720031972moz-cite-prefix">On
06/28/2018 10:01 AM, Vamsi Pinnamaneni wrote:<br>
</div>
<blockquote type="cite">
<pre>QuickFIX/J Documentation: <a class="m_-498983232720031972moz-txt-link-freetext" href="http://www.quickfixj.org/documentation/" target="_blank" moz-do-not-send="true">http://www.quickfixj.org/<wbr>documentation/</a>
QuickFIX/J Support: <a class="m_-498983232720031972moz-txt-link-freetext" href="http://www.quickfixj.org/support/" target="_blank" moz-do-not-send="true">http://www.quickfixj.org/<wbr>support/</a>
</pre>
<br>
<fieldset
class="m_-498983232720031972mimeAttachmentHeader"></fieldset>
<br>
<div dir="ltr">Hi Team,
<div><br>
</div>
<div>Thanks for you sample code.before implementing
that ,the callback method <b>"fromApp" </b>is not
calling.i attached all two java files of my code
.please check what was wrong?</div>
<div><br>
</div>
<div>Plesase find the attachment.Thanks in
advance.Please help me.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jun 27, 2018 at 7:13
PM, Colin DuPlantis <span dir="ltr"><<a
href="mailto:co...@ma..."
target="_blank" moz-do-not-send="true">co...@ma...</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span>QuickFIX/J
Documentation: <a
href="http://www.quickfixj.org/documentation/"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.quickfixj.org/docum<wbr>entation/</a><br>
QuickFIX/J Support: <a
href="http://www.quickfixj.org/support/"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.quickfixj.org/suppo<wbr>rt/</a><br>
<br>
<br>
</span> resending after trimming length:<br>
<br>
<br>
On 06/27/2018 06:42 AM, Colin DuPlantis wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex"> Here's a code snippet
we use to retrieve the price from a market data
message. I've also included a few helper
methods. I omitted a lot of code that isn't
relevant to your question.<br>
<br>
List<Group> mdEntries =
messageFactory.getMdEntriesFro<wbr>mMessage(message);<br>
for(Group mdEntry : mdEntries) {<br>
char entryType =
mdEntry.getChar(quickfix.field<wbr>.MDEntryType.FIELD);<br>
switch(entryType) {<br>
case
quickfix.field.MDEntryType.BID<wbr>:<br>
mdEntry.getDecimal(<a href="http://quickfix.fi"
target="_blank" moz-do-not-send="true">quickfix.fi</a><wbr>eld.MDEntryPx.FIELD);<br>
<br>
/**<br>
* Get the MDEntry groups from the given
message.<br>
*<br>
* @param inMessage a
<code>Message</code> value<br>
* @return a
<code>List&lt:Group&gt;</code>
value<br>
* @throws FieldNotFound if the groups could
not be extracted<br>
*/<br>
public List<Group>
getMdEntriesFromMessage(Messag<wbr>e inMessage)<br>
throws FieldNotFound<br>
{<br>
List<Group> mdEntries =
Lists.newArrayList();<br>
int noMdEntries =
inMessage.getInt(quickfix.fiel<wbr>d.NoMDEntries.FIELD);<br>
for(int i=1;i<=noMdEntries;i++) {<br>
Group mdEntryGroup =
createGroup(inMessage.getHeade<wbr>r().getString(quickfix.field.M<wbr>sgType.FIELD),<br>
quickfix.field.NoMDEntries.FIE<wbr>LD);<br>
mdEntryGroup = inMessage.getGroup(i,<br>
mdEntryGroup);<br>
mdEntries.add(mdEntryGroup);<br>
}<br>
return mdEntries;<br>
}<br>
<br>
/** Creates a group based on the specified
container message and group id */<br>
public Group createGroup(String msgType, int
groupID)<br>
{<br>
return msgFactory.create(beginString,
msgType, groupID);<br>
}<br>
</blockquote>
<div class="m_-498983232720031972HOEnZb">
<div class="m_-498983232720031972h5"> <br>
<br>
------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of
the world's most<br>
engaging tech sites, Slashdot.org! <a
href="http://sdm.link/slashdot"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://sdm.link/slashdot</a><br>
______________________________<wbr>_________________<br>
Quickfixj-users mailing list<br>
<a
href="mailto:Qui...@li..."
target="_blank" moz-do-not-send="true">Qui...@li...<wbr>rge.net</a><br>
<a
href="https://lists.sourceforge.net/lists/listinfo/quickfixj-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.sourceforge.net/<wbr>lists/listinfo/quickfixj-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-498983232720031972gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div><span
style="color:rgb(136,136,136);font-family:Arial,sans-serif;font-size:x-small;line-height:13.5533px">Regards,<br>
</span></div>
<div><span
style="color:rgb(136,136,136);font-family:Arial,sans-serif;font-size:x-small;line-height:13.5533px">Vamsi
Krishna Pinnamaneni<br>
</span></div>
<div dir="ltr"><span
style="color:rgb(136,136,136);font-family:Arial,sans-serif;font-size:x-small;line-height:13.5533px"><br>
The information contained in this
message may be confidential and is
intended for the addressee only. If you
don't think this email is meant for you,
please let us know. Do not copy or
forward the information it contains, and
delete this email from your system. Any
personal views or opinions are those of
the author and do not necessarily
represent those of Wealth Objects
Limited. This email does not create or
vary any contractual obligations between
Wealth Objects Limited and the
addressee.</span><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset
class="m_-498983232720031972mimeAttachmentHeader"></fieldset>
<br>
<pre>------------------------------<wbr>------------------------------<wbr>------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! <a class="m_-498983232720031972moz-txt-link-freetext" href="http://sdm.link/slashdot" target="_blank" moz-do-not-send="true">http://sdm.link/slashdot</a></pre>
<br>
<fieldset
class="m_-498983232720031972mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Quickfixj-users mailing list
<a class="m_-498983232720031972moz-txt-link-abbreviated" href="mailto:Qui...@li..." target="_blank" moz-do-not-send="true">Quickfixj-users@lists.<wbr>sourceforge.net</a>
<a class="m_-498983232720031972moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/quickfixj-users" target="_blank" moz-do-not-send="true">https://lists.sourceforge.net/<wbr>lists/listinfo/quickfixj-users</a>
</pre>
</blockquote>
<br>
</div>
<br>
------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world's
most<br>
engaging tech sites, Slashdot.org! <a
href="http://sdm.link/slashdot" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://sdm.link/slashdot</a><br>
______________________________<wbr>_________________<br>
Quickfixj-users mailing list<br>
<a href="mailto:Qui...@li..."
moz-do-not-send="true">Quickfixj-users@lists.<wbr>sourceforge.net</a><br>
<a
href="https://lists.sourceforge.net/lists/listinfo/quickfixj-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.sourceforge.net/<wbr>lists/listinfo/quickfixj-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div><span
style="color:rgb(136,136,136);font-family:Arial,sans-serif;font-size:x-small;line-height:13.5533px">Regards,<br>
</span></div>
<div><span
style="color:rgb(136,136,136);font-family:Arial,sans-serif;font-size:x-small;line-height:13.5533px">Vamsi
Krishna Pinnamaneni<br>
</span></div>
<div dir="ltr"><span
style="color:rgb(136,136,136);font-family:Arial,sans-serif;font-size:x-small;line-height:13.5533px"><br>
The information contained in this message may be
confidential and is intended for the addressee
only. If you don't think this email is meant for
you, please let us know. Do not copy or forward
the information it contains, and delete this email
from your system. Any personal views or opinions
are those of the author and do not necessarily
represent those of Wealth Objects Limited. This
email does not create or vary any contractual
obligations between Wealth Objects Limited and the
addressee.</span><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! <a class="moz-txt-link-freetext" href="http://sdm.link/slashdot">http://sdm.link/slashdot</a></pre>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Quickfixj-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qui...@li...">Qui...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/quickfixj-users">https://lists.sourceforge.net/lists/listinfo/quickfixj-users</a>
</pre>
</blockquote>
<br>
</body>
</html>
|