Context Aware Routing in Internet of Things