So the question was the following:
Let $t_1,...,t_n$ be a sample from a normal distribution with an mean that is unknown, $\kappa$, and a known variance $\sigma^2$.
We can assume that the prior density for $\kappa$ is an exp density with the mean of $\kappa_0$. The objective is to fin the posterior density of $\kappa$.
Now my first thought was to use:
\begin{align}
p(\kappa|t) &= \frac{p(\kappa)p(t|\kappa)}{p(t)} \\[5pt]
&\qquad\text{where} \\[5pt]
\bar{t}|\kappa &\sim \mathcal{N}\bigg(\kappa,\ \frac{\sigma^2}{n}\bigg) \\[5pt]
&\qquad\text{and} \\[5pt]
\kappa &\sim \frac{1}{\kappa_0}e^{-\frac{\kappa}{\kappa_0}}
\end{align}
But this turned out to be very tricky to solve. I got the following:
\begin{align}
p(t) &= \int_{-\inf}^{+inf}p(t|\kappa)p(\kappa)d\kappa \\[5pt]
&= \int_{0}^{\inf} \frac{1}{\kappa_0} e^{ -\frac{\kappa}{\kappa_0}}\prod_{i=1}^{n}e^{-\frac{(t_i-\kappa)^2}{2\frac{\kappa^2}{n}}}d\kappa
\end{align}
I know that I can get rid of the product by simply putting a sum into the exponential but other than that I have no idea how solve this integral. Am I thinking about this problem the wrong way or is there a trick to solve the integral that I'm not seeing?