Swift Message – MT103

MT1xx: Customer Payments & Cheques

MT2xx: Financial Institution Transfers

http://tradesamaritan.com/world-trade/products/mt103-single-customer-credit-transfer

 

 

 

Swift Message

 

MT MT Name Purpose
101 Request For Transfer Requests to debit a customer’s account held at the receiver or at another institution.
102
Multiple Customer Credit Transfer
Conveys multiple payment instructions between financial institutions.
102 STP
103
Single Customer Credit Transfer
Instructs a funds transfer.
103 STP
103 REMIT Single Customer Credit Transfer Instructs a fund transfer.
104 Direct Debit and Request for Debit Transfer Message Conveys direct debit instructions and requests for direct debits between financial institutions.
105 EDIFACT Envelope An envelope which conveys a 2k EDIFACT message.
107 General Direct Debit Message Conveys direct debit instructions between financial institutions.
110 Advice of Cheque(s) Advises or confirms the issuance of a cheque to the drawee bank.
111 Request for Stop Payment of a Cheque Requests the drawee bank to stop payment of a cheque.
112 Status of a Request for Stop Payment of a Cheque Indicates action(s) taken in attempting to stop payment of a cheque.
190 Advice of Charges, Interest and Other Adjustments Advises an account owner of charges, interest, and other adjustments.
191 Request for Payment of Charges, Interest and Other Expenses Requests payment of charges, interest, or other expenses.
192 Request for Cancellation Requests the receiver to consider cancellation of the message identified in the request.
195 Queries Requests information relating to a previous message or amendment to a previous message.
196 Answers Responds to an MT 195 Query or MT 192 Request for Cancellation or other message where no specific message type has been provided for a response.
198 Proprietary Message Contains formats defined and agreed to between users and for those messages not yet live.
199 Free Format Message Contains information for which no other message type has been defined.
200 Financial Institution Transfer for its Own Account Requests the movement of the sender’s funds to its account at another financial institution.
201 Multiple Financial Institution Transfer for its Own Account Multiple of the MT 200.
202 General Financial Institution Transfer Requests the movement of funds between financial institutions except if the transfer is related to an underlying customer credit transfer that was sent with the cover method, in which case the MT 202 COV must be used.
202 COV General Financial Institution Transfer Requests the movement of funds between financial institutions, related to an underlying customer credit transfer that was sent with the cover method.
203 Multiple General Financial Institution Transfer Multiple of the MT 202.
204 Financial Markets Direct Debit Message Claims funds from SWIFT member banks.
205 Financial Institution Transfer Execution Further transmits a transfer request domestically except if the transfer is related to an underlying customer credit transfer that was sent with the cover method, in which case the MT 205 COV must be used.
205 COV Financial Institution Transfer Execution Further transmits a transfer request domestically, related to an underlying customer credit transfer that was sent with the cover method.
207 Request for Financial Institution Transfer Requests to debit an ordering financial institution’s account held at the receiving financial institution or the account servicing financial institution.
210 Notice to Receive Notifies the receiver that it will receive funds for the sender’s account.
256 Advice of Non-Payment of Cheques Informs the sender of one or more previously sent cheque truncation messages of non-payment of one or more truncated cheques. It may also be used to specify dishonoured items that result in reversing a previous payment settlement.
290 Advice of Charges, Interest and Other Adjustments Advises an account owner of charges, interest, or other adjustments.
291 Request for Payment of Charges, Interest and Other Expenses Requests payment of charges, interest, or other expenses.
292 Request for Cancellation Requests the receiver to consider cancellation of the message identified in the request.
295 Queries Requests information relating to a previous message or amendment to a previous message.
296 Answers Responds to an MT 295 Queries message or an MT 292 Request for Cancellation or other message where no specific message type has been provided for a response.
298 Proprietary Message Contains formats defined and agreed to between users and for those messages not yet live.
299 Free Format Message Contains information for which no other message type has been defined.
300 Foreign Exchange Confirmation Confirms information agreed to in the buying/selling of two currencies.
303 Forex/Currency Option Allocation Instruction Instructs the allocation of a block trade (forex or currency option).
304 Advice/Instruction of a Third Party Deal Advises of or instructs settlement of a third party foreign exchange deal.
305 Foreign Currency Option Confirmation Confirms information agreed to in the buying and selling of vanilla options on currencies.
306 Foreign Currency Option Confirmation Confirms information agreed to in the buying and selling of exotic options on currencies.
307 Advice/Instruction of a Third Party FX Deal Advises of or instructs settlement of a third party foreign exchange deal.
320 Fixed Loan/Deposit Confirmation Confirms the terms of a contract relative to a fixed loan/deposit transaction.
321 Instruction to Settle a Third Party Loan/Deposit Advises the trade details and instructs the settlement of a fixed term loan/deposit done with a third party financial institution.
330 Call/Notice Loan/Deposit Confirmation Confirms the terms of a contract relative to a call/notice loan/deposit transaction.
340 Forward Rate Agreement Confirmation Confirms the details of a forward rate agreement.
341 Forward Rate Agreement Settlement Confirmation Confirms the settlement details of a forward rate agreement.
350 Advice of Loan/Deposit Interest Payment Advises of a loan/deposit interest payment.
360 Single Currency Interest Rate Derivative Confirmation Confirms the details of a single currency interest rate derivative swap, cap, collar or floor.
361 Cross Currency Interest Rate Swap Confirmation Confirms the details of a cross currency interest rate swap transaction.
362 Interest Rate Reset/Advice of Payment Confirms or advises the reset rates of the floating interest rate(s) in a single or cross-currency interest rate derivative transaction and/or the payment of interest at the end of an interest period.
364 Single Currency Interest Rate Derivative Termination/Recouponing Confirmation Confirms the details of the partial or full termination or recouponing of a single currency interest rate swap, cap, collar, or floor.
365 Cross Currency Interest Rate Swap Termination/Recouponing Confirmation Confirms the details of the partial or full termination or recouponing of a cross currency interest rate swap.
370 Netting Position Advice Advises the netting position of a currency
380 Foreign Exchange Order Orders to purchase or sell a specific amount of a certain currency.
381 Foreign Exchange Order Confirmation Confirms the execution of an FX order previously sent.
390 Advice of Charges, Interest and Other Adjustments Advises an account owner of charges, interest, or other adjustments.
391 Request for Payment of Charges, Interest and Other Expenses Requests payment of charges, interest, or other expenses.
392 Request for Cancellation Requests the receiver to consider cancellation of the message identified in the request.
395 Queries Requests information relating to a previous message or amendment to a previous message.
396 Answers Responds to an MT 395 Queries or an MT 392 Request for Cancellation or other message where no specific message type has been provided for a response.
398 Proprietary Message Contains formats defined and agreed to between users and for those messages not yet live.
399 Free Format Message Contains information for which no other message type has been defined.
400 Advice of Payment Advises of a payment under a collection or part thereof. It also handles the settlement of proceeds.
410 Acknowledgement Acknowledges receipt of a collection. It also specifies if the collecting bank does not intend to act in accordance with the collection instruction.
412 Advice of Acceptance Informs the remitting bank of the acceptance of one or more drafts under one collection instruction.
416 Advice of Non-Payment/Non-Acceptance Advises of the non-payment or non-acceptance under a previously received collection.
420 Tracer Enquires about documents sent for collection.
422 Advice of Fate and Request for Instructions Advises the remitting bank of the fate of one or more collection documents; usually accompanied by one or more questions or requests.
430 Amendment of Instructions Amends collection instructions.
450 Cash Letter Credit Advice Confirms that the face amount of cash letter(s) received has been credited under usual reserve (subject to final payment).
455 Cash Letter Credit Adjustment Advice Advises the account owner of adjustments made to its account (related to a previous credit for a cash letter).
456 Advice of Dishonour Advises the account owner that financial document(s) included in the cash letter have been dishonoured for reasons specified in the advice.
490 Advice of Charges, Interest and Other Adjustments Advises an account owner of charges, interest, or other adjustments to its account.
491 Request for Payment of Charges, Interest and Other Expenses Requests payment of charges, interest, or other expenses.
492 Request for Cancellation Requests the receiver to consider cancellation of the message identified in the request.
495 Queries Requests information relating to a previous message or amendment to a previous message.
496 Answers Responds to an MT 495 Queries message or MT 492 Request for Cancellation or other messages where no specific message type has been provided for the response.
498 Proprietary Message Contains formats defined and agreed to between users and for those messages not yet live.
499 Free Format Message Contains information for which no other message type has been defined.
500 Instruction to Register Instructs the registration, deregistration or reregistration of a financial instrument at the registration provider.
501 Confirmation of Registration or Modification Confirms the registration, deregistration or reregistration of a beneficial owner or shareholder with the registration provider.
5023 Order to Buy or Sell Instructs the purchase or sale of a given quantity of a specified financial instrument under specified conditions.
503 Collateral Claim Requests new or additional collateral, or the return or recall of collateral.
504 Collateral Proposal Proposes new or additional collateral.
505 Collateral Substitution Proposes or requests the substitution of collateral held.
506 Collateral and Exposure Statement Provides the details of the valuation of both the collateral and the exposure.
507 Collateral Status and Processing Advice Advises the status of a collateral claim, a collateral proposal, or a proposal/request for collateral substitution.
508 Intra-Position Advice Reports on the movement of securities within the holding.
5093 Trade Status Message Provides information about the status of a previously executed trade.
510 Registration Status and Processing Advice Advises the status of a registration instruction or modification.
513 Client Advice of Execution Provides brief and early information about a securities deal, for example, a block trade that is to be allocated before final confirmation.
514 Trade Allocation Instruction Instructs the allocation of a block trade.
5153 Client Confirmation of Purchase or Sale Provides a detailed accounting of financial instruments purchased or sold by the sender on behalf of the receiver or its client. It may also convey the payment details of the purchase or sale. It may also be sent by, or via an ETC service provider.
516 Securities Loan Confirmation Confirms the details of a securities loan, including collateral arrangements. It may also confirm the details of a partial recall or return of securities previously out on loan.
517 Trade Confirmation Affirmation Positively affirms the details of a previously received confirmation/contract note.
518 Market-Side Securities Trade Confirmation Confirms the details of a trade and, where necessary, its settlement to a trading counterparty.
519 Modification of Client Details Instructs the modification of client details at the registration provider.
524 Intra-Position Instruction Instructs the movement of securities within the holding.
526 General Securities Lending/Borrowing Message Requests the borrowing of securities or notifies the return or recall of securities previously out on loan. It may also be used to list securities available for lending.
527 Triparty Collateral Instruction Performs a specific action on a collateral management transaction.
530 Transaction Processing Command Requests the modification of a processing indicator or other non-matching information.
535 Statement of Holdings Reports at a specified time, the quantity and identification of securities and other holdings which the account servicer holds for the account owner.
536 Statement of Transactions Provides details of increases and decreases of holdings which occurred during a specified period.
537 Statement of Pending Transactions Provides details of pending increases and decreases of holdings at a specified time.
538 Statement of Intra-Position Advices Provides details of increases and decreases in securities within the holding during a specified period.
540 Receive Free Instructs a receipt of financial instruments free of payment. It may also be used to request a cancellation or pre-advise an instruction.
541 Receive Against Payment Instructs a receipt of financial instruments against payment. It may also be used to request a cancellation or pre-advise an instruction.
542 Deliver Free Instructs a delivery of financial instruments free of payment. It may also be used to request a cancellation or pre-advise an instruction.
543 Deliver Against Payment Instructs a delivery of financial instruments against payment. It may also be used to request a cancellation or pre-advise an instruction.
544 Receive Free Confirmation Confirms a receipt of financial instruments free of payment. It may also be used to cancel or reverse a confirmation.
545 Receive Against Payment Confirmation Confirms a receipt of financial instruments against payment. It may also be used to cancel or reverse a confirmation.
546 Deliver Free Confirmation Confirms a delivery of financial instruments free of payment. It may also be used to cancel or reverse a confirmation.
547 Deliver Against Payment Confirmation Confirms a delivery of financial instruments against payment. It may also be used to cancel or reverse a confirmation.
548 Settlement Status and Processing Advice Advises the status of a settlement instruction or replies to a cancellation request.
549 Request for Statement/Status Advice Requests a statement or a status message.
558 Triparty Collateral Status and Processing Advice Provides validation results and status advice re collateral instructions and proposed collateral movements.
559 Paying Agent’s Claim Claims reimbursement of income or redemption proceeds, or a combination of both.
564 Corporate Action Notification Provides an account owner with details of a corporate action event and the choices available to the account owner. It also provides the account owner with details on the impact a corporate action event will have on a safekeeping or cash account, for example, entitlement calculation.
565 Corporate Action Instruction Instructs the custodian on the investment decision made by an account owner relative to a corporate action event.
566 Corporate Action Confirmation Confirms to the account owner that securities and/or cash have been credited/debited to an account as a result of a corporate action event.
567 Corporate Action Status and Processing Advice Indicates the status, or a change in status, of a corporate action-related transaction previously instructed by, or executed on behalf of, the account owner.
568 Corporate Action Narrative Provides complex instructions or narrative details relating to a corporate action event.
569 Triparty Collateral and Exposure Statement Provides the details of the valuation of both the collateral and the exposure.
5744 IRS 1441 NRA-IRS Beneficial Owners’ List Provides owner or pooled income information for a period of time arranged between the intermediary and the withholding agent.
5745 IRS 1441 NRA-Form W8-BEN Certifies the foreign status of a beneficial owner for United States tax withholding.
575 Report of Combined Activity Reports on all securities and cash activity for a given combination of safekeeping and cash accounts.
576 Statement of Open Orders Provides details of orders to buy or to sell financial instruments, as at a specified date, which have been accepted by the sender, but which have not yet been executed.
577 Statement of Numbers Provides certificate numbers of securities.
578 Settlement Allegement Advises the account owner that a counterparty has alleged a settlement instruction on the account owner’s account.
579 Certificate Numbers Replaces or supplements the “certificate numbers” field in a primary message, for example, MT 577.
581 Collateral Adjustment Message Claims or notifies a change in the amount of collateral held against securities out on loan or for other reasons.
586 Statement of Settlement Allegements Provides details of pending settlement allegements.
590 Advice of Charges, Interest and Other Adjustments Advises an account owner of charges, interest, or other adjustments to its account.
591 Request for Payment of Charges, Interest and Other Expenses Requests payment of charges, interest, or other expenses.
592 Request for Cancellation Requests the receiver to consider cancellation of the message identified in the request.
595 Queries Requests information relating to a previous message or amendment to a previous message.
596 Answers Responds to an MT 595 Queries or MT 592 Request for Cancellation or other message where no specific message type has been provided for the response.
598 Proprietary Message Contains formats defined and agreed to between users and for those messages not yet live.
599 Free Format Message Contains information for which no other message type has been defined.
600 Commodity Trade Confirmation Confirms the details of a commodity trade and its settlement.
601 Commodity Option Confirmation Confirms the details of a commodity option contract.
604 Commodity Transfer/Delivery Order Instructs the receiver to transfer by book-entry, or physically deliver, a specified type and quantity of commodity to a specified party.
605 Commodity Notice to Receive Notifies the receiver of an impending book-entry transfer or physical delivery of a specified type and quantity of commodity.
606 Commodity Debit Advice Advises the receiver of a debit entry to a specified commodity account.
607 Commodity Credit Advice Advises the receiver of a credit entry to a specified commodity account.
608 Statement of a Commodity Account Provides the details of all bookings to a commodity account.
609 Statement of Commodity Contracts Identifies all outstanding commodity contracts, as at a specified date for which confirmations have been exchanged.
620 Commodity Fixed Loan/Deposit Confirmation Confirms a commodity fixed term loan/deposit contract.
643 Notice of Drawdown/Renewal Provides notice of the borrower(s) request for drawdown(s)/renewal(s) on a given date.
644 Advice of Rate and Amount Fixing Specifies the interest rate and, if applicable, the exchange rate, for the next interest period.
646 Payment of Principal and/or of Interest Advises of payments and/or prepayments of principal and/or of interest with the same value date, but not related to any subsequent drawing or renewal.
649 General Syndicated Facility Message Provides for communications related to syndicated facilities for which no specific message has been defined.
670 Standing Settlement Instruction Update Notification Request Requests SWIFT to create the MT 671 from the MT 670 and send to financial institutions.
671 Standing Settlement Instruction Update Notification Specifies standing settlement instructions for one or more currencies.
690 Advice of Charges, Interest and Other Adjustments Advises an account owner of charges, interest, or other adjustments to its account.
691 Request for Payment of Charges, Interest and Other Expenses Requests payment of charges, interest, or other expenses.
692 Request for Cancellation Requests the receiver to consider cancellation of the message identified in the request.
695 Queries Requests information relating to a previous message or amendment to a previous message.
696 Answers Responds to an MT 695 Queries message or MT 692 Request for Cancellation or other messages where no specific message type has been provided for the response.
698 Proprietary Message Contains formats defined and agreed to between users and for those messages not yet live.
699 Free Format Message Contains information for which no other message type has been defined.
700 Issue of a Documentary Credit Indicates the terms and conditions of a documentary credit.
701 Issue of a Documentary Credit Continuation of an MT 700 for fields 45a, 46a, and 47a.
705 Pre-Advice of a Documentary Credit Provides brief advice of a documentary credit for which full details will follow.
707 Amendment to a Documentary Credit Informs the receiver of amendments to the terms and conditions of a documentary credit.
710 Advice of a Third Bank’s or a Non-Bank’s Documentary Credit Advises the receiver of the terms and conditions of a documentary credit.
711 Advice of a Third Bank’s or a Non-Bank’s Documentary Credit Continuation of an MT 710 for fields 45a, 46a, and 47a.
720 Transfer of a Documentary Credit Advises the transfer of a documentary credit, or part thereof, to the bank advising the second beneficiary.
721 Transfer of a Documentary Credit Continuation of an MT 720 for fields 45a, 46a, and 47a.
730 Acknowledgement Acknowledges the receipt of a documentary credit message and may indicate that the message has been forwarded according to instructions. It may also be used to account for bank charges or to advise of acceptance or rejection of an amendment of a documentary credit.
732 Advice of Discharge Advises that documents received with discrepancies have been taken up.
734 Advice of Refusal Advises the refusal of documents that are not in accordance with the terms and conditions of a documentary credit.
740 Authorisation to Reimburse Requests the receiver to honour claims for reimbursement of payment(s) or negotiation(s) under a documentary credit.
742 Re-imbursement Claim Provides a reimbursement claim to the bank authorised to reimburse the sender or its branch for its payments/ negotiations.
747 Amendment to an Authorisation to Reimburse Informs the reimbursing bank of amendments to the terms and conditions of a documentary credit, relative to the authorisation to reimburse.
750 Advice of Discrepancy Advises of discrepancies and requests authorisation to honour documents presented that are not in accordance with the terms and conditions of the documentary credit.
752 Authorisation to Pay, Accept or Negotiate Advises a bank which has requested authorisation to pay, accept, negotiate, or incur a deferred payment undertaking that the presentation of the documents may be honoured, notwithstanding the discrepancies, provided they are otherwise in order.
754 Advice of Payment/Acceptance/Negotiation Advises that documents have been presented in accordance with the terms of a documentary credit and are being forwarded as instructed. This message type also handles the payment/ negotiation.
756 Advice of Re-imbursement or Payment Advises of the reimbursement or payment for a drawing under a documentary credit in which no specific reimbursement instructions or payment provisions were given.
760 Guarantee/Standby Letter of Credit Issues or requests the issue of a guarantee.
767 Guarantee/Standby Letter of Credit Amendment Amends a guarantee which has been previously issued or requests the amendment of a guarantee which the sender has previously requested to be issued.
768 Acknowledgement of a Guarantee/Standby Message Acknowledges the receipt of a guarantee message and may indicate that action has been taken according to instructions.
769 Advice of Reduction or Release Advises that a bank has been released of its liability for a specified amount under its guarantee.
790 Advice of Charges, Interest and Other Adjustments Advises an account owner of charges, interest, or other adjustments to its account.
791 Request for Payment of Charges, Interest and Other Expenses Requests payment of charges, interest, or other expenses.
792 Request for Cancellation Requests the receiver to consider cancellation of the message identified in the request.
795 Queries Requests information relating to a previous message or amendment to a previous message.
796 Answers Responds to an MT 795 Queries message or MT 792 Request for Cancellation or other messages where no specific message type has been provided for the response.
798 Proprietary Message Contains formats defined and agreed to between users and for those messages not yet live.
799 Free Format Message Contains information for which no other message type has been defined.
800 T/C Sales and Settlement Advice [Single] Provides the sale and settlement details for the sale of travellers cheques by a single selling agent.
801 T/C Multiple Sales Advice Provides the details (excluding the settlement details) of the sales of travellers cheques in cases where the data is lengthy or includes data from several selling agents.
802 T/C Settlement Advice Provides the settlement details of multiple sales of travellers cheques.
824 T/C Inventory Destruction/Cancellation Notice Notifies the issuer of the destruction/cancellation of travellers cheque inventory held by the selling agent. It may also request a selling agent to destroy/cancel travellers cheque inventory.
890 Advice of Charges, Interest and Other Adjustments Advises an account owner of charges, interest, or other adjustments to its account.
891 Request for Payment of Charges, Interest and Other Expenses Requests payment of charges, interest, or other expenses.
892 Request for Cancellation Requests the receiver to consider cancellation of the message identified in the request.
895 Queries Requests information relating to a previous message or amendment to a previous message.
896 Answers Responds to an MT 895 Queries message or MT 892 Request for Cancellation or other messages where no specific message type has been provided for the response.
898 Proprietary Message Contains formats defined and agreed to between users and for those messages not yet live.
899 Free Format Message Contains information for which no other message type has been defined.
900 Confirmation of Debit Advises an account owner of a debit to its account.
910 Confirmation of Credit Advises an account owner of a credit to its account.
920 Request Message Requests the account servicing institution to send an MT 940, 941, 942, or 950.
935 Rate Change Advice Advises the receiver of general rate change(s) and/or rate change(s) which applies to a specific account other than a call/notice loan/deposit account.
940 Customer Statement Message Provides balance and transaction details of an account to a financial institution on behalf of the account owner.
941 Balance Report Provides balance information of an account to a financial institution on behalf of the account owner.
942 Interim Transaction Report Provides balance and transaction details of an account, for a specified period of time, to a financial institution on behalf of the account owner.
950 Statement Message Provides balance and transaction details of an account to the account owner.
970 Netting Statement Provides balance and transaction details of a netting position as recorded by a netting system.
971 Netting Balance Report Provides balance information for specified netting position(s).
972 Netting Interim Statement Advises interim balance and transaction details of a netting position as recorded by a netting system.
973 Netting Request Message Requests an MT 971 or 972 containing the latest available information.
985 Status Enquiry Requests an MT 986.
986 Status Report Provides business-related information about a customer or institution.
990 Advice of Charges, Interest and Other Adjustments Advises an account owner of charges, interest, or other adjustments to its account.
991 Request for Payment of Charges, Interest and Other Expenses Requests payment of charges, interest, or other expenses.
992 Request for Cancellation Requests the receiver to consider cancellation of the message identified in the request.
995 Queries Requests information relating to a previous message or amendment to a previous message.
996 Answers Responds to an MT 995 Queries or MT 992 Request for Cancellation or other messages where no specific message type has been provided for the response.
998 Proprietary Message Contains formats defined and agreed to between users and for those messages not yet live.
999 Free Format Message Contains information for which no other message type has been defined.

Mule ESB

Mule is a lightweight java-based enterprise service bus and integration platform – allows to integrate with JMS, Web Service, JDBC, HTTP etc.

Deployment: 

Access the directory and folder in which downloaded Mule. For example, type:

cd /Users/myname/Downloads/mule-standalone-3.8.0/

Start Mule. For example, type: ./bin/mule

Clustering: 

Create a file named mule-cluster.properties inside the node’s $MULE_HOME/.mule directory.

mule.cluster.nodes=192.168.10.21,192.168.10.22,192.168.10.23
mule.cluster.multicastenabled=false
mule.clusterId=<Cluster_ID>
mule.clusterNodeId=<Cluster_Node_ID>

 

core java – thread

Thread:

Ways to create a thread: 


1. Implements Runnable interface

class MyThread implements Runnable
{
 public void run()
 {
  System.out.println("concurrent thread started running..");
 }
}

class MyThreadDemo
{
 public static void main( String args[] )
 {
  MyThread mt = new MyThread();
  Thread t = new Thread(mt);
  t.start(); //have to call start method, otherwise, it will not create a new Thread
 }
} 
2. Extending Thread Class

class MyThread extends Thread
{
 public void run()
 {
  System.out.println("concurrent thread started running..");
 }
}

classMyThreadDemo
{
 public static void main( String args[] )
 {
  MyThread mt = new  MyThread();
  mt.start();
 }
}

2. Synchronisation:

ConcurrentHashMap vs HashTable: ConcurrentHashMap allows concurrent reading, but not writing.

3. ThreadPool

public class SimpleThreadPool {

 public static void main(String[] args) {
    ExecutorService executor = Executors.newFixedThreadPool(5);
    for (int i = 0; i < 10; i++) {
       Runnable worker = new WorkerThread("" + i);
       executor.execute(worker);
    }
    executor.shutdown();
    while (!executor.isTerminated()) {
    }
    System.out.println("Finished all threads");
 }
}

认真观察我的老儿子

今天早晨在涂脸的时候,想想天气阴,不想涂气垫粉饼了。结果豆豆下床举着那个粉饼问我,“妈妈,你怎么没涂这个?” 没想到这臭小子喝着奶也认真观察我,还能注意到这个小细节。估计以后细心暖男肯定胜过他爸:)心里真是开心!

British Council 第一节课

本来我一心想自己给毛毛补英语,结果季承非要报英语班。后来我决定报British Council,季承又犹豫了。Anyway,决定报半年试一试。第一节课其他的孩子有准备Spelling Test,当时我想毛毛应该不会太差,因为我一直有教她一本phonics的书。但是教的时候我就发现她都会,于是决定加大难度让她做了几次spelling。各种玩游戏才可以encourage 一点,像我一样热爱spelling的人数不多:)结果在没有提前准备的情况下毛毛的Spelling基本全对15/16,还有句子,错了一个snug。我很是开心,老公讲的时候,我看毛毛很得意:)希望毛毛英文越来越棒!