Hi Patricia,
rootsireland.ie has 5 records for John Walsh marrying a Brophy - all in Kilkenny: 1816, 1836, 1862 & 2 in 1876. (I suspect the last 2 are the same 1).
If John was, say 25 when married, the birth year of the above candidates are 1786, 1811, 1865 so if you can work out which might fit you can get the record.
If you can get access to ancestry.com you could search the Canadian Censuses for the O'Connors and get a first name and a birth year with which to search rootsireland.ie for them.
Alternatively, there are lots of public member trees on ancestry which have O'Connors in New Brunswick born in Ireland.
We can assist further but you will need to provide more specific details than O'Connor 1800's New Brunswick please.
Col