Bayesian consistency for stationary models