Note that there are some explanatory texts on larger screens.

plurals
  1. USTanvir
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COThanks Artem for the solution. This actually solves the problem in question. In my actual application I won't however be able to do System.exit(0) as it will be a web app and new SMTP sessions will have to be instantiated every time it is needed. So, the flow will be like connect --> send HELO --> send other protocol commands --> send QUIT --> disconnect for each session. My rough guess, I will have to play around with auto-startup="false" and then start / stop the adapter on demand. If you feel that's not going to work, or in case you can share a better approach it would be much appreciated.
      singulars
    2. CODid you mean `<tcp-outbound-channel-adapter>` is a TCP write-only adapter? I have tried that and it still blocks in read mode after sending out the data. Am I missing something?
      singulars
    3. COThanks Chafouin. Your guess is correct. I have been using [this maven artifact](http://mvnrepository.com/artifact/org.json/json/20090211) which is the latest on maven repository as of yet. But that release is probably outdated. After using the source from [this github repo](https://github.com/douglascrockford/JSON-java) my program started to work as expected. I found the link to this repo from json.org website. However, no maven artifact seems to be available for this latest source code.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload