How to reconcile God telling Jeremiah to preach to people that won't listen while also saying not to cast your pearls before swine God tells Jeremiah to preach to people that will not listen:


  Jeremiah 7:2,27 NIV - Stand at the gate of the Lord’s house and there proclaim this message...[long message]...When you tell them all this, they will not listen to you; when you call to them, they will not answer.


Later on in biblical history, Jesus, whom Christians believe to be God, tells his crowd to not waste words on people that won't listen:


  Matthew 7:6 NIV - Do not give dogs what is sacred; do not throw your pearls to pigs. If you do, they may trample them under their feet, and turn and tear you to pieces.


What's an overview of Christian responses to how these two things can coexist without contradiction?
TL;DR -- Context lets them coexist without contradiction.

The longer version:

God's word to Jeremiah in the first passage represented specific instructions for a specific mission.  At the base level of common sense, it would be a mistake to interpret those instructions as any kind of a generalized principle -- any more than God's word to Noah means that we're all commanded to build arks.

In contrast, Jesus' words state a general principle for His followers -- one that we should follow, barring any strong reasons to the contrary.  (One thing to keep in mind for example: how can a human being know whether the person he's speaking to is a "dog"?  Unless God steps in by the power of the Holy Spirit to give insight into a person's heart &amp; character, we humans can only judge by our limited and faulty impressions of an outward appearance.)

The only consistent rule in biblical morality is complete obedience to God's will, whatever it may be at any given moment.  God can and does give us basic moral rules and principles, but ultimately we are bound to follow His every command, even if it goes against one of those general moral rules/principles.  One example would be the general prohibition against killing (Genesis 9:6, Exodus 20:13), which had exceptions for cases such as warfare (e.g. Joshua 6 and the destruction of Jericho).