In Listing 5, I've added an id property of type BigInteger to the Race domain object.
在清单5中,我添加一个类型为BigInteger的id属性到race域对象。
Next we create the usual JMS artifacts required to send a message, then generate a group identifier by taking a random 24-byte BigInteger and converting it to a hexadecimal string.
接下来,我们创建用于发送消息的常见JMS构件,然后采用 24 字节的BigInteger随机值,并将其转换为十六进制字符串,从而生成组标识符。
Next we create the usual JMS artifacts required to send a message, then generate a group identifier by taking a random 24-byte BigInteger and converting it to a hexadecimal string.
接下来,我们创建用于发送消息的常见JMS构件,然后采用 24 字节的BigInteger随机值,并将其转换为十六进制字符串,从而生成组标识符。
应用推荐