/{guest-id}")
 public class BookingServer {

     &#64;OnMessage
     public void processBookingRequest(@PathParam("guest-id") String guestID, String message, Session session) {
         // process booking from the given guest here
     }
 }
 </code>
 </pre>

 <p>
 For example:-

 <pre>
 <code>
 &#64;ServerEndpoint("/rewards/{vip-level}")
 public class RewardServer {

     &#64;OnMessage
     public void processReward(@PathParam("vip-level") Integer vipLevel, String message, Session session) {
         // p