Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

does the send mail function be able to run asynchronously?
 Post subject: does the send mail function be able to run asynchronously? Post rating: 0   New post Posted: Wed 13 Aug, 2014, 11:08 
User avatar

User rating: 1
Joined: Tue 27 Aug, 2013, 17:39
Posts: 26
Location: China, Shanghai
i have a strategy to send mail hoursly and report indicators if necessary.
https://www.dukascopy.com/wiki/#Send_e-mail

it works but often prompt the informations:
09:59:43 Strategy thread queue overloaded with tasks. Ticks in queue - 3, bars - 3298, other tasks - 867

i search in dukas forum and trace the log,reason is the strategy thread is blocked by the send function.
so i try to use asynchronous task to resolve,both of Asynchronous execution/Scheduled asynchronous execution will block the strategy(onTick not called).
https://www.dukascopy.com/wiki/#Threading

does the send mail function be able to run asynchronously?(do not block the main onTick function)
thanks in advance.


 
 Post subject: Re: does the send mail function be able to run asynchronously? Post rating: 0   New post Posted: Wed 13 Aug, 2014, 11:16 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The e-mail is going to work with the release of JForex-API 2.10.0 for JForex-SDK, which is expected by the end of the next week.


 
 Post subject: Re: does the send mail function be able to run asynchronously? Post rating: 0   New post Posted: Thu 14 Aug, 2014, 02:11 
User avatar

User rating: 1
Joined: Tue 27 Aug, 2013, 17:39
Posts: 26
Location: China, Shanghai
API Support wrote:
The e-mail is going to work with the release of JForex-API 2.10.0 for JForex-SDK, which is expected by the end of the next week.

good news,thanks for your support!


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com