According to the World Health Organisation, the Japanese encephalitis vaccine is 99.3% effective.
A single dose of the vaccine is highly effective in preventing Japanese encephalitis when the vaccine was given even only days or weeks prior to being exposed to the virus.
You should take additional precautions, such as mosquito netting, insecticide, wearing loose fitting clothing, long sleeves and socks, and use aircon where possible.